diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d9b54a2..767edf1 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 diff --git a/Build/buildwindows b/Build/buildwindows index e20416e..eba8af8 100755 --- a/Build/buildwindows +++ b/Build/buildwindows @@ -1 +1 @@ -GOOS=windows GOARCH=amd64 go build -o curd.exe -ldflags="-s -w" cmd/curd/main.go \ No newline at end of file +GOOS=windows GOARCH=amd64 go build -o Build/curd/curd.exe -ldflags="-s -w" cmd/curd/main.go \ No newline at end of file diff --git a/Build/curd-windows-build.iss b/Build/curd-windows-build.iss index 9385a96..1c5cbe3 100644 --- a/Build/curd-windows-build.iss +++ b/Build/curd-windows-build.iss @@ -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]