mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-30 08:26:27 -04:00
Update and rename build-docker.ps1 to build-docker.bat
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
echo "Please ensure Docker Desktop is running before you continue."
|
||||
pause
|
||||
docker build -t ac-decomp .
|
||||
curl -O https://files.decomp.dev/compilers_latest.zip
|
||||
mkdir compilers_temp
|
||||
tar -xf compilers_latest.zip -C compilers_temp
|
||||
xcopy compilers_temp\GC\1.2.5n\ tools\1.2.5n\ /E /I
|
||||
xcopy compilers_temp\GC\1.3.2\ tools\1.3.2\ /E /I
|
||||
xcopy compilers_temp\GC\1.3.2r\ tools\1.3.2r\ /E /I
|
||||
del compilers_latest.zip
|
||||
rmdir /S /Q compilers_temp\
|
||||
echo "Docker image setup is now complete. You may proceed with the instructions."
|
||||
pause
|
||||
exit
|
||||
@@ -1,7 +0,0 @@
|
||||
docker build -t ac-decomp .
|
||||
curl -O https://files.decomp.dev/compilers_latest.zip
|
||||
Expand-Archive -LiteralPath compilers_latest.zip -DestinationPath compilers_temp
|
||||
move compilers_temp\GC\1.2.5n\ tools\ && mv compilers_temp\GC\1.3.2\ tools\ && mv compilers_temp\GC\1.3.2r\ tools\
|
||||
Remove-Item compilers_latest.zip
|
||||
Remove-Item -Path compilers_temp\ -Recurse
|
||||
echo "Docker image setup is now complete. You may proceed with the instructions."
|
||||
Reference in New Issue
Block a user