chore: Fix build step windows

This commit is contained in:
PartyDonut 2025-06-09 21:48:59 +02:00
parent 010db6057e
commit ef6411dcf6
2 changed files with 23 additions and 21 deletions

View file

@ -16,13 +16,13 @@ on:
- reopened - reopened
schedule: schedule:
# Run nightly at midnight UTC, but only if there were changes to develop # Run nightly at midnight UTC, but only if there were changes to develop
- cron: '0 0 * * *' - cron: "0 0 * * *"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
build_type: build_type:
description: 'Build type (release, nightly, or auto)' description: "Build type (release, nightly, or auto)"
required: false required: false
default: 'auto' default: "auto"
type: choice type: choice
options: options:
- auto - auto
@ -382,7 +382,7 @@ jobs:
build-linux-flatpak: build-linux-flatpak:
name: "Flatpak" name: "Flatpak"
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: needs.fetch-info.outputs.build_type == 'release' if: needs.fetch-info.outputs.build_type == 'release' || needs.fetch-info.outputs.build_type == 'nightly'
needs: [fetch-info, build-linux] needs: [fetch-info, build-linux]
container: container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46 image: bilelmoussaoui/flatpak-github-actions:gnome-46

View file

@ -21,9 +21,11 @@ SetupLogging=yes
UninstallLogging=yes UninstallLogging=yes
UninstallDisplayName="Fladder" UninstallDisplayName="Fladder"
UninstallDisplayIcon={app}\fladder.exe UninstallDisplayIcon={app}\fladder.exe
SetupIconFile="D:\a\Fladder\Fladder\icons\production\fladder_icon.ico" SetupIconFile="icons\production\fladder_icon.ico"
LicenseFile="D:\a\Fladder\Fladder\LICENSE" LicenseFile="LICENSE"
WizardImageFile=D:\a\Fladder\Fladder\assets\windows-installer\fladder-installer-100.bmp,D:\a\Fladder\Fladder\assets\windows-installer\fladder-installer-125.bmp,D:\a\Fladder\Fladder\assets\windows-installer\fladder-installer-150.bmp WizardImageFile="assets\windows-installer\fladder-installer-100.bmp", \
"assets\windows-installer\fladder-installer-125.bmp", \
"assets\windows-installer\fladder-installer-150.bmp"
[Languages] [Languages]
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
@ -32,7 +34,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files] [Files]
Source: "D:\a\Fladder\Fladder\build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons] [Icons]
Name: "{autoprograms}\Fladder"; Filename: "{app}\fladder.exe" Name: "{autoprograms}\Fladder"; Filename: "{app}\fladder.exe"