From 2f596c7c5527b33ab6cfb9f8f89afb6608877912 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:04:43 +0800 Subject: [PATCH] Add: console.bat --- console.bat | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 console.bat diff --git a/console.bat b/console.bat new file mode 100644 index 000000000..dcc1656b1 --- /dev/null +++ b/console.bat @@ -0,0 +1,29 @@ +@rem +@echo off + +set "_root=%~dp0" +set "_root=%_root:~0,-1%" +%~d0 +cd "%_root%" + +color F0 + +set "_pyBin=%_root%\toolkit" +set "_GitBin=%_root%\toolkit\Git\mingw64\bin" +set "_adbBin=%_root%\toolkit\Lib\site-packages\adbutils\binaries" +set "PATH=%_root%\toolkit\alias;%_root%\toolkit\command;%_pyBin%;%_pyBin%\Scripts;%_GitBin%;%_adbBin%;%PATH%" +set "ELECTRON_ENABLE_LOGGING=1" + +title Alas Console Debugger +echo This is an console to run adb, git, python and pip. +echo adb devices +echo git log +echo python -V +echo pip -V +echo. & echo ----- & echo. +echo. +) +echo. + +PROMPT $P$_$G$G$G +cmd /Q /K