mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 10:59:24 +08:00
Add: console.bat
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -247,5 +247,4 @@ adb_port.ini
|
|||||||
*.exe
|
*.exe
|
||||||
!popup.exe
|
!popup.exe
|
||||||
*.zip
|
*.zip
|
||||||
console.bat
|
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|||||||
29
console.bat
Normal file
29
console.bat
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user