Update and rename build-docker.ps1 to build-docker.bat

This commit is contained in:
MisterSheeple
2024-08-05 04:56:39 +00:00
committed by GitHub
parent c97aed3ab1
commit c8e7d5377d
2 changed files with 15 additions and 7 deletions
+15
View File
@@ -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
-7
View File
@@ -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."