Skip to content

Commit

Permalink
chore: Pack AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mufanc committed Nov 19, 2023
1 parent 1ae3913 commit ca7767f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
name: Build AppImage
runs-on: ubuntu-latest
env:
LINUXDEPLOY: https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20231026-1/linuxdeploy-x86_64.AppImage
APPIMAGETOOL: https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage

steps:
- name: Checkout
Expand All @@ -19,8 +22,19 @@ jobs:
run: |
sudo apt update
sudo apt install -y libjpeg-dev libbz2-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev liblua5.1-0-dev libfontconfig1-dev libavifile-0.7-dev
sudo apt install desktop-file-utils
- name: Make
id: build_variants
shell: bash
run: make

- name: Build AppImage
shell: bash
working-directory: build
run: |
wget $LINUXDEPLOY -O linuxdeploy.AppImage
wget $APPIMAGETOOL -O appimagetool.AppImage
chmod +x ./linuxdeploy.AppImage
chmod +x ./appimagetool.AppImage
./linuxdeploy.AppImage --appimage-extract-and-run --appdir onscripter-navy -e onscripter --create-desktop-file --icon-file icon.png
./appimagetool.AppImage --appimage-extract-and-run onscripter-navy
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca7767f

Please sign in to comment.