diff --git a/GitUpdateChecker_go_test.exe b/GitUpdateChecker_go_test.exe index e27df37..c59e3d7 100644 Binary files a/GitUpdateChecker_go_test.exe and b/GitUpdateChecker_go_test.exe differ diff --git a/app.manifest b/app.manifest new file mode 100644 index 0000000..ef2aeff --- /dev/null +++ b/app.manifest @@ -0,0 +1,32 @@ + + + + Git Update Checker + + + + + + + + true/PM + + + + + + + + + + diff --git a/build.bat b/build.bat index b0fd801..0517e02 100644 --- a/build.bat +++ b/build.bat @@ -19,6 +19,14 @@ if errorlevel 1 ( exit /b 1 ) +echo [*] Generation du manifeste Windows (rsrc.syso)... +where rsrc >nul 2>&1 +if errorlevel 1 ( + echo [*] Installation de rsrc... + go install github.com/akavel/rsrc@latest +) +rsrc -manifest app.manifest -ico icon.ico -o rsrc.syso + echo [*] Compilation en cours... go build -ldflags "-H windowsgui -s -w" -o GitUpdateChecker.exe . diff --git a/rsrc.syso b/rsrc.syso new file mode 100644 index 0000000..3e3e49b Binary files /dev/null and b/rsrc.syso differ