Skip to content

Commit

Permalink
Fix compile.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
astralaster committed Jul 8, 2024
1 parent 35e5a7f commit fc473dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ if not exist %BASEDIR% mkdir %BASEDIR%
if not exist %GITHUB% mkdir %GITHUB%

Rem I don't feel guilty about requiring a recent version of Powershell... see below
if not exist %BASEDIR%\Cedev_zip powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/CE-Programming/toolchain/releases/%CEDEV_VER%/download/CEdev-Windows.zip', '%BASEDIR%\Cedev-Windows.zip')"
if not exist %BASEDIR%\Cedev_zip powershell -Command "Invoke-WebRequest https://github.com/CE-Programming/toolchain/releases/%CEDEV_VER%/download/CEdev-Windows.zip -OutFile %BASEDIR%\Cedev-Windows.zip"
if not exist %BASEDIR%\Cedev_zip powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/CE-Programming/toolchain/releases/download/%CEDEV_VER%/CEdev-Windows.zip', '%BASEDIR%\Cedev-Windows.zip')"
if not exist %BASEDIR%\Cedev_zip powershell -Command "Invoke-WebRequest https://github.com/CE-Programming/toolchain/releases/download/%CEDEV_VER%/CEdev-Windows.zip -OutFile %BASEDIR%\Cedev-Windows.zip"

cd "%BASEDIR%"
Rem Either we use this Win10-and-up command, or tar (also Win10), or we embed VBScript... this seems best for now
Expand Down

0 comments on commit fc473dd

Please sign in to comment.