Update
This commit is contained in:
28
Run.bat
Normal file
28
Run.bat
Normal file
@@ -0,0 +1,28 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo NexusLauncher Startup
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
echo [1/3] Closing existing instances...
|
||||
taskkill /f /im pythonw.exe 2>nul
|
||||
echo.
|
||||
|
||||
echo [2/3] Cleaning cache...
|
||||
echo Cleaning all __pycache__ folders...
|
||||
for /d /r %%d in (__pycache__) do @if exist "%%d" rd /s /q "%%d"
|
||||
|
||||
echo Cleaning module caches...
|
||||
if exist "__pycache__" rd /s /q "__pycache__"
|
||||
if exist "config\__pycache__" rd /s /q "config\__pycache__"
|
||||
if exist "ui\__pycache__" rd /s /q "ui\__pycache__"
|
||||
if exist "ui\task\__pycache__" rd /s /q "ui\task\__pycache__"
|
||||
echo.
|
||||
|
||||
echo [3/3] Starting NexusLauncher...
|
||||
start "" pythonw main.py
|
||||
|
||||
echo ========================================
|
||||
echo NexusLauncher started!
|
||||
echo ========================================
|
||||
exit
|
||||
Reference in New Issue
Block a user