Skip to content

Commit

Permalink
--reinstall-python cli arg
Browse files Browse the repository at this point in the history
  • Loading branch information
rfresh2 committed Dec 29, 2024
1 parent 2e3596b commit 345e5cb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/launcher/launch_windows.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
@echo off
setlocal

if "%1" == "--reinstall-python" (
echo Reinstalling Python...
del python /Q
)

if not exist python\python.exe (
del python.tar.gz
if exist python.tar.gz (
del python.tar.gz
)

echo Downloading Python...
REM --ssl-no-revoke necessary as some users have broken windows installs? https://discord.com/channels/1127460556710883391/1127461501960208465/1320859617487618078
Expand Down

0 comments on commit 345e5cb

Please sign in to comment.