Skip to content

Commit

Permalink
Add: Github Workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 26, 2024
1 parent 9cdc800 commit 9cdf8e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ jobs:
Start-Process -FilePath "is.exe" -ArgumentList "/SILENT" -Wait # Run installer silently
Remove-Item "is.exe"
- name: List Build Directory
run: dir Build

- name: Create Windows Installer
run: |
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" Build/curd-windows-build.iss # Adjust the path to your Inno Setup script
Expand Down
2 changes: 1 addition & 1 deletion Build/buildwindows
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GOOS=windows GOARCH=amd64 go build -o curd.exe -ldflags="-s -w" cmd/curd/main.go
GOOS=windows GOARCH=amd64 go build -o Build/curd/curd.exe -ldflags="-s -w" cmd/curd/main.go
2 changes: 1 addition & 1 deletion Build/curd-windows-build.iss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name: "desktopicon"; Description: "Create a &desktop shortcut"; GroupDescription

[Files]
; Copy the Curd executable to the install directory
Source: "curd.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "Build/curd/curd.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "Build/mpv.exe"; DestDir: "{app}\bin"; Flags: ignoreversion

[Icons]
Expand Down

0 comments on commit 9cdf8e4

Please sign in to comment.