diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8e0fc8d..bcdebf6 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -51,11 +51,15 @@ jobs: echo Current directory: cd echo. - echo ISS file exists: - if exist MonitorControl.iss (echo YES) else (echo NO) - echo. - echo Creating installer directory... + echo Setting temp directories... + set TEMP=%CD%\temp + set TMP=%CD%\temp + mkdir temp 2>nul mkdir installer 2>nul + echo TEMP=%TEMP% + echo. + echo Source files: + dir bin\Release\net9.0-windows echo. echo Running Inno Setup... "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" MonitorControl.iss diff --git a/DellMonitorControl/MonitorControl.iss b/DellMonitorControl/MonitorControl.iss index 384a7b6..566f5d5 100644 --- a/DellMonitorControl/MonitorControl.iss +++ b/DellMonitorControl/MonitorControl.iss @@ -2,8 +2,10 @@ #define MyAppVersion "1.0.0" #define MyAppPublisher "Dang" #define MyAppExeName "DellMonitorControl.exe" +#define SourcePath "bin\Release\net9.0-windows" [Setup] +SourceDir=. AppId={{8F3E4A2B-1C5D-4E6F-9A8B-7C2D1E3F4A5B} AppName={#MyAppName} AppVersion={#MyAppVersion}