File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,14 @@ jobs:
9090 Write-Host "Generated versioninfo.json:"
9191 Get-Content versioninfo.json
9292
93- # Generate version resource
93+ # Generate version resource in the correct directory
9494 goversioninfo -64=true
9595
96- # Verify resource.syso was created
96+ # Move resource.syso to cmd/terminusai directory where main.go is located
9797 if (Test-Path "resource.syso") {
98- Write-Host "✓ resource.syso created successfully"
99- $resourceSize = (Get-Item "resource.syso").Length
98+ Move-Item "resource.syso" "cmd\terminusai\resource.syso" -Force
99+ Write-Host "✓ resource.syso moved to cmd/terminusai directory"
100+ $resourceSize = (Get-Item "cmd\terminusai\resource.syso").Length
100101 Write-Host "Resource file size: $resourceSize bytes"
101102 } else {
102103 Write-Host "✗ resource.syso not found - version info may not be embedded"
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ Thumbs.db
3737terminusai * .exe
3838dist /
3939build /Output /
40+ resource.syso
4041
4142# Config files (contains API keys)
4243config.json
Original file line number Diff line number Diff line change 1818AppId = {{F4BCC13B-9A3D-4C2C-A46C-55E88A5A4867}
1919AppName = {#MyAppName }
2020AppVersion = {#MyAppVersion}
21+ VersionInfoVersion = {#MyAppVersion}
22+ VersionInfoCompany = {#MyAppPublisher}
23+ VersionInfoDescription = {#MyAppName } Setup
24+ VersionInfoCopyright = Copyright © 2024 {#MyAppPublisher}
25+ VersionInfoProductName = {#MyAppName }
26+ VersionInfoProductVersion = {#MyAppVersion}
2127;AppVerName={#MyAppName} {#MyAppVersion}
2228AppPublisher = {#MyAppPublisher}
2329AppPublisherURL = {#MyAppURL}
You can’t perform that action at this time.
0 commit comments