Skip to content

Commit

Permalink
desktop: Add wix config and build msi as part of release
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Aug 2, 2024
1 parent 56e740c commit 1af1026
Show file tree
Hide file tree
Showing 5 changed files with 9,893 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ jobs:
sudo apt-get update
sudo apt install -y libasound2-dev libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libudev-dev
- name: Install WiX
run: |
dotnet tool install --global wix
wix extension add -g WixToolset.UI.wixext
wix extension add -g WixToolset.Util.wixext
if: runner.os == 'Windows'

- name: Cargo build
run: cargo build --locked --package ruffle_desktop --release ${{matrix.DESKTOP_FEATURES && '--features' }} ${{matrix.DESKTOP_FEATURES}} ${{ matrix.target && '--target' }} ${{ matrix.target }}
env:
Expand All @@ -129,6 +136,15 @@ jobs:
cp README.md package/README.md
cp LICENSE.md package/LICENSE.md
- name: Package MSI
run: |
cd desktop/wix
wix build ruffle.wxs -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext -arch x64 -o ../../package/setup.msi -pdbtype none
env:
RUFFLE_VERSION: "0.1.0"
CARGO_BUILD_DIR: target/${{ matrix.target }}/release
if: runner.os == 'Windows'

- name: Package Windows
if: runner.os == 'Windows'
run: |
Expand Down
Binary file added desktop/wix/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added desktop/wix/dialog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1af1026

Please sign in to comment.