Skip to content

Commit

Permalink
Use native flutter embedder instead of nativeshell
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Sep 28, 2021
1 parent f01fe5c commit 31c1d24
Show file tree
Hide file tree
Showing 25 changed files with 422 additions and 1,624 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/flutterci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,13 @@ jobs:
run: flutter config --enable-linux-desktop

- name: Build Flutter app
run: cargo build --release
run: flutter build linux

- name: Build Tarball
run: |
install -Dm744 target/release/appimagepool linux/usr/bin/appimagepool
cp -aR target/release/data/ linux/usr/bin/data/
cp -aR target/release/lib/ linux/usr/bin/lib/
cd linux/usr/bin/lib/;for f in $(find -type l);do cp --remove-destination $(readlink $f) $f;done;cd ../../../../;
cp -fr build/linux/x64/release/bundle linux/packaging/usr/bin
mkdir AppDir
cp -r linux/usr AppDir
cp -r linux/packaging/usr AppDir
ln -sr AppDir/usr/bin/appimagepool AppDir/appimagepool
tar czf appimagepool-x86_64.tar.gz -C AppDir/ .
Expand All @@ -66,11 +63,13 @@ jobs:
- name: App tar sha256 sum
run: sha256sum appimagepool-x86_64.tar.gz

- uses: svenstaro/upload-release-action@master
- uses: svenstaro/upload-release-action@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./appimagepool-x86_64*
file_glob: true
tag: ${{ steps.newref.outputs.value }}
body: ""
prerelease: ${{ github.event_name != 'release' }}
release_name: ${{ github.event_name == 'release' && github.event.release.name || 'Development Build' }}
tag: ${{ github.event_name == 'release' && github.event.release.tag_name || 'continuous' }}
overwrite: true

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.svn/
.comments
.flatpak-builder*
generated_plugin_registrant.*

**hid**
**.AppImage
Expand Down
31 changes: 0 additions & 31 deletions .vscode/launch.json

This file was deleted.

Loading

0 comments on commit 31c1d24

Please sign in to comment.