Skip to content

Commit

Permalink
Fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Stackflow committed Sep 13, 2024
1 parent 70bdada commit c436ae6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
os: windows-latest
artifact_name: release-Windows
artifact_path: |
build/windows/*.zip
build/windows/installer/*.exe
build/windows/outputs/*.zip
build/windows/outputs/*.exe
- target: Linux
os: ubuntu-latest
artifact_name: release-Linux
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
if: matrix.target == 'Windows'
run: |
flutter build windows --release
$DestDir = "build\windows\CloudOTP-${{ steps.get_version.outputs.version }}-windows-x86_64"
$DestDir = "build\windows\outputs\CloudOTP-${{ steps.get_version.outputs.version }}-windows-x86_64"
$SrcDir = "build\windows\x64\runner\Release"
New-Item -Path $DestDir -ItemType Directory
Copy-Item $SrcDir\* -Recurse $DestDir
Expand All @@ -168,7 +168,7 @@ jobs:
if: matrix.target == 'Windows'
uses: Minionguyjpro/Inno-Setup-Action@v1.2.4
with:
path: "tools/windows_tools/CloudOTP.iss"
path: tools/windows_tools/CloudOTP.iss

# Build Linux .deb
- name: Build Linux
Expand Down Expand Up @@ -250,6 +250,7 @@ jobs:
artifacts: |
/tmp/artifacts/release-Android/*.apk
/tmp/artifacts/release-Windows/*.zip
/tmp/artifacts/release-Windows/*.exe
/tmp/artifacts/release-MacOS/*.dmg
/tmp/artifacts/release-iOS/*.ipa
/tmp/artifacts/release-Linux/*.deb
Expand Down
4 changes: 2 additions & 2 deletions tools/windows_tools/CloudOTP.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "CloudOTP"
#define MyAppVersion "2.4.3"
#define MyAppVersion "2.4.2"
#define MyAppPublisher "Cloudchewie"
#define MyAppURL "https://apps.cloudchewie.com/cloudotp"
#define MyAppExeName "CloudOTP.exe"
Expand Down Expand Up @@ -33,7 +33,7 @@ DisableProgramGroupPage=yes
LicenseFile=..\..\LICENSE
; Remove the following line to run in administrative install mode (install for all users.)
PrivilegesRequiredOverridesAllowed=commandline
OutputDir=..\..\build\windows\installer
OutputDir=..\..\build\windows\outputs
OutputBaseFilename={#MyAppName}-{#MyAppVersion}-windows-x86_64
SetupIconFile=..\..\assets\logo-transparent.ico
Compression=lzma
Expand Down

0 comments on commit c436ae6

Please sign in to comment.