Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 28c6cad153 | |||
| dda6bf1002 | |||
| 821f119547 | |||
| a33430faa0 | |||
| 401d717adf | |||
| cfac39a838 | |||
| a408b0fd27 | |||
| 4aba0049f5 |
@@ -30,11 +30,44 @@ jobs:
|
||||
$issPath = "DellMonitorControl/MonitorControl.iss"
|
||||
(Get-Content $issPath) -replace '#define MyAppVersion ".*"', "#define MyAppVersion `"$version`"" | Set-Content $issPath
|
||||
|
||||
- name: List build output
|
||||
shell: cmd
|
||||
run: |
|
||||
echo "Current directory:"
|
||||
cd
|
||||
echo "DellMonitorControl contents:"
|
||||
dir DellMonitorControl
|
||||
echo "DellMonitorControl\bin contents:"
|
||||
dir DellMonitorControl\bin
|
||||
echo "DellMonitorControl\bin\Release contents:"
|
||||
dir DellMonitorControl\bin\Release
|
||||
echo "DellMonitorControl\bin\Release\net9.0-windows contents:"
|
||||
dir DellMonitorControl\bin\Release\net9.0-windows
|
||||
|
||||
- name: Build Installer
|
||||
shell: cmd
|
||||
working-directory: DellMonitorControl
|
||||
run: |
|
||||
echo Current directory:
|
||||
cd
|
||||
echo.
|
||||
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
|
||||
echo.
|
||||
echo ISCC exit code: %ERRORLEVEL%
|
||||
echo.
|
||||
echo Installer directory contents:
|
||||
dir installer
|
||||
|
||||
- name: Create Release
|
||||
shell: powershell
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user