diff --git a/src/build.bat b/src/build.bat new file mode 100644 index 0000000..bdfa7fa --- /dev/null +++ b/src/build.bat @@ -0,0 +1,7 @@ +@echo off +cd %~dp0 +echo Compiling to ../build +rsrc -manifest manifest.xml -ico data/stadia.ico +go build -ldflags "-s -w -H windowsgui" -o ../build/stadia2xbox.exe +copy data\ViGEmClient.dll ..\build\ViGEmClient.dll /y > NUL +upx ../build/stadia2xbox.exe -9 \ No newline at end of file diff --git a/src/compile.bat b/src/compile.bat deleted file mode 100644 index bbc105b..0000000 --- a/src/compile.bat +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -echo Compiling to ../build -rsrc -manifest manifest.xml -ico data/stadia.ico -go build -ldflags "-s -w -H windowsgui -linkmode=internal" -o ../build/stadia2xbox.exe \ No newline at end of file