chore: build script embeds release/VERSION; local zero-touch E2E driver
This commit is contained in:
@@ -72,6 +72,7 @@ if (-not $SkipSetup) {
|
||||
$ServiceData = (Join-Path $Out "GTIFiscalAgentService") + ";" + "GTIFiscalAgentService"
|
||||
$UninstallData = (Join-Path $Out "Uninstall.exe") + ";" + "."
|
||||
$ExecutorData = (Join-Path $Root "scripts\firebird_write_executor.py") + ";" + "scripts"
|
||||
$VersionData = (Join-Path $Root "release\VERSION") + ";" + "."
|
||||
Invoke-Step "Build Setup.exe (onefile, uac-admin)" -Body {
|
||||
& $py -m PyInstaller @Common @Paths @Hidden @Excludes "--onefile" "--uac-admin" "--name" "GTIFiscalAgent-Setup" `
|
||||
"--add-data" $ServiceData "--add-data" $UninstallData "--add-data" $ExecutorData "--add-data" $VersionData `
|
||||
|
||||
Reference in New Issue
Block a user