Commit 9cdf8e477d

9cdf8e477d7202c2850edb5258de0618ce9e7514

parent: 9cdc8002cb

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-26 18:07 UTC

Add: Github Workflow changes

Layout: unified · split

.github/workflows/ci-cd.yml +3
@@ -76,6 +76,9 @@ jobs:
76 Start-Process -FilePath "is.exe" -ArgumentList "/SILENT" -Wait # Run installer silently 76 Start-Process -FilePath "is.exe" -ArgumentList "/SILENT" -Wait # Run installer silently
77 Remove-Item "is.exe" 77 Remove-Item "is.exe"
78 78
79 - name: List Build Directory
80 run: dir Build
81
79 - name: Create Windows Installer 82 - name: Create Windows Installer
80 run: | 83 run: |
81 & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" Build/curd-windows-build.iss # Adjust the path to your Inno Setup script 84 & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" Build/curd-windows-build.iss # Adjust the path to your Inno Setup script
Build/buildwindows +1 −1
@@ -1 +1 @@
1GOOS=windows GOARCH=amd64 go build -o curd.exe -ldflags="-s -w" cmd/curd/main.go\ No newline at end of file 1GOOS=windows GOARCH=amd64 go build -o Build/curd/curd.exe -ldflags="-s -w" cmd/curd/main.go\ No newline at end of file
Build/curd-windows-build.iss +1 −1
@@ -15,7 +15,7 @@ Name: "desktopicon"; Description: "Create a &desktop shortcut"; GroupDescription
15 15
16[Files] 16[Files]
17; Copy the Curd executable to the install directory 17; Copy the Curd executable to the install directory
18Source: "curd.exe"; DestDir: "{app}"; Flags: ignoreversion 18Source: "Build/curd/curd.exe"; DestDir: "{app}"; Flags: ignoreversion
19Source: "Build/mpv.exe"; DestDir: "{app}\bin"; Flags: ignoreversion 19Source: "Build/mpv.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
20 20
21[Icons] 21[Icons]