add custom file names to building and fix purgatory issue

This commit is contained in:
KingKDot
2026-03-21 03:06:35 -05:00
parent e7e5f0b778
commit 5ac5e4e536
13 changed files with 276 additions and 93 deletions
+5
View File
@@ -25,6 +25,11 @@ if "%ENABLE_PERSISTENCE%"=="true" (
set "LDFLAGS=%LDFLAGS% -X overlord-client/cmd/agent/config.DefaultPersistence=true"
)
if not "%STARTUP_NAME%"=="" (
echo Building with custom startup name: %STARTUP_NAME%
set "LDFLAGS=%LDFLAGS% -X overlord-client/cmd/agent/persistence.DefaultStartupName=%STARTUP_NAME%"
)
if not "%SERVER_URL%"=="" (
echo Building with custom server URL: %SERVER_URL%
set "LDFLAGS=%LDFLAGS% -X overlord-client/cmd/agent/config.DefaultServerURL=%SERVER_URL%"