diff --git a/build-docker.bat b/build-docker.bat new file mode 100644 index 00000000..72841f7e --- /dev/null +++ b/build-docker.bat @@ -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 diff --git a/build-docker.ps1 b/build-docker.ps1 deleted file mode 100644 index 2df1ccf1..00000000 --- a/build-docker.ps1 +++ /dev/null @@ -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."