Skip to content

Commit 4b42ebf

Browse files
authored
Merge branch 'main' into dependabot/pub/alfred-1.1.01
2 parents 8aa6a16 + 00cde0d commit 4b42ebf

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/flemozi-release-binary.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
flutter pub get
5858
make innoinstall
5959
flutter_distributor package --platform=windows --targets=exe --skip-clean
60-
mv dist/**/flemozi-*-windows.exe dist/Flemozi-windows-x86_64-setup.exe
60+
mv dist/**/flemozi-*+*-windows-setup.exe dist/Flemozi-windows-x86_64-setup.exe
6161
6262
- name: Upload Artifact
6363
uses: actions/upload-artifact@v3
@@ -113,12 +113,20 @@ jobs:
113113
- name: BUILD_VERSION Env
114114
run: |
115115
echo "BUILD_VERSION=${{ inputs.version }}" >> $GITHUB_ENV
116+
116117

118+
### Running flutter_distributor 3 times to mitigate a bug in flutter_distributor
119+
### causing RPATH to be set incorrectly for deb packages
120+
###
121+
### alias dpkg-deb="dpkg-deb -Zxz" is used to mitigate a bug in debian dpkg
122+
### caused by unsupported zstd compression. -Zxz instrcuts dpkg-deb to use
123+
### xz compression instead of zstd
117124
- name: Build Linux Packages
118125
run: |
119126
flutter config --enable-linux-desktop
120127
flutter pub get
121128
dart pub global activate flutter_distributor
129+
alias dpkg-deb="dpkg-deb -Zxz"
122130
flutter_distributor package --platform=linux --targets=appimage
123131
flutter_distributor package --platform=linux --targets=rpm
124132
flutter_distributor package --platform=linux --targets=deb

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flemozi
22
description: A powerful emoji picker
33
publish_to: 'none'
4-
version: 0.1.0
4+
version: 0.1.0+1
55

66
environment:
77
sdk: '>=2.19.0 <3.0.0'
@@ -24,8 +24,8 @@ dependencies:
2424
path: plugins/window_size
2525
launch_at_startup: ^0.2.2
2626
package_info_plus: ^3.0.3
27-
shared_preferences: ^2.0.17
2827
alfred: ^1.1.0+1
28+
shared_preferences: ^2.1.0
2929
system_theme: ^2.1.0
3030
flutter_svg: ^2.0.2
3131
url_launcher: ^6.1.10

0 commit comments

Comments
 (0)