Skip to content

Commit 14322ed

Browse files
committed
ci: add Windows exe
1 parent 739eb03 commit 14322ed

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

.github/workflows/cross-platform_build.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ jobs:
127127

128128
- run: fvm flutter config --enable-windows-desktop
129129
- run: fvm flutter build windows --release
130+
- run: fvm dart run msix:create
130131

131-
- name: Upload Windows artifact
132+
- name: Upload Windows MSIX
132133
uses: actions/upload-artifact@v4
133134
with:
134-
name: ${{ env.APP_NAME }}-windows-x64
135-
path: build\windows\x64\runner\Release
135+
name: ${{ env.APP_NAME }}-windows-x64.msix
136+
path: build\windows\x64\runner\Release\*.msix

pubspec.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: subterfuge
22
description: Shamir secret sharing experience using SLIP39 implementation.
33
homepage: https://github.com/ethicnology/subterfuge
4-
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
4+
publish_to: "none" # Remove this line if you wish to publish to pub.dev
55

66
version: 1.2.0
77

@@ -28,14 +28,14 @@ dependencies:
2828
ref: af1219e502e7dfe91f3c5675cec9cf3d3467fe4c
2929
url_launcher: ^6.3.2
3030

31-
3231
dev_dependencies:
3332
flutter_test:
3433
sdk: flutter
3534
flutter_lints: ^6.0.0
3635
flutter_launcher_icons: ^0.14.4
3736
build_runner: ^2.10.0
3837
dart_mappable_builder: ^4.6.1
38+
msix: ^3.16.12
3939

4040
# The following section is specific to Flutter packages.
4141
flutter:
@@ -59,7 +59,15 @@ flutter_launcher_icons:
5959
windows:
6060
generate: true
6161
image_path: "assets/logo.png"
62-
icon_size: 48
62+
icon_size: 48
6363
macos:
6464
generate: true
65-
image_path: "assets/logo.png"
65+
image_path: "assets/logo.png"
66+
67+
msix_config:
68+
display_name: Subterfuge
69+
publisher_display_name: ethicnology
70+
identity_name: ethicnology.subterfuge
71+
msix_version: 1.2.0.0
72+
logo_path: assets/logo.png
73+
install_certificate: false

0 commit comments

Comments
 (0)