Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Oct 24, 2024
1 parent 85d156d commit 9c0ef2c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@ jobs:
- name: Build Flutter Linux App
run: flutter build linux

- run: chmod u+x build/linux/x64/release/bundle/open_media_server_app
- name: List build directory
run: |
ls -R build/linux/x64/release/bundle
# Ensure executable permissions
- name: Set executable permissions
run: chmod +x build/linux/x64/release/bundle/usr/bin/open_media_server_app

# Package the built Linux app into an AppImage
- name: Create AppImage
run: |
APP_DIR=build/linux/x64/release/bundle
./linuxdeploy-x86_64.AppImage \
--appdir=$APP_DIR \
--appdir=build/linux/x64/release/bundle \
--output appimage \
--desktop-file=assets/desktop/myapp.desktop \
--icon-file assets/images/myapp.png
Expand All @@ -59,6 +64,7 @@ jobs:
name: my-flutter-app.AppImage
path: '*.AppImage'


build-apk:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -93,7 +99,8 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: my-flutter-app.apk
path: '*.apk'
path: "./build/app/outputs/apk/release/app-release.apk"


build-web:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion assets/desktop/myapp.desktop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=My Flutter App
Exec=open_media_server_app
Exec=usr/bin/open_media_server_app
Icon=myapp
Type=Application
Categories=Utility;

0 comments on commit 9c0ef2c

Please sign in to comment.