bug: Fix undefined Inno AppVersion (#462)

This commit is contained in:
vikingnope 2025-08-17 16:51:44 +02:00 committed by GitHub
parent ef20087195
commit bf18ace25a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -211,9 +211,7 @@ jobs:
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
with:
path: windows/windows_setup.iss
options: /O+
env:
FLADDER_VERSION: ${{ needs.fetch-info.outputs.version_name }}
options: /O+ /DFLADDER_VERSION="${{ needs.fetch-info.outputs.version_name }}"
- name: Archive Windows portable artifact
uses: actions/upload-artifact@v4.0.0

View file

@ -1,9 +1,13 @@
#define SourcePath ".."
#ifndef FLADDER_VERSION
#define FLADDER_VERSION "latest"
#endif
[Setup]
AppId={{D573EDD5-117A-47AD-88AC-62C8EBD11DC7}
AppName="Fladder"
AppVersion={%FLADDER_VERSION|latest}
AppVersion={#FLADDER_VERSION}
AppPublisher="DonutWare"
AppPublisherURL="https://github.com/DonutWare/Fladder"
AppSupportURL="https://github.com/DonutWare/Fladder"