Skip to content

Commit d02f069

Browse files
committed
fix: use custom linuxdeploy to find copyright files
1 parent 8baa7e0 commit d02f069

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-stable:
10-
runs-on: ubuntu-24.04
10+
runs-on: debian:stable-20241202
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Set env
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
sudo apt-get update
2020
sudo apt-get upgrade -y
21-
sudo apt-get install -y g++ make pkg-config libgtk-3-dev libcanberra-gtk-module libcanberra-gtk3-module libgl-dev libasound2-dev libao-dev libopenal-dev libsdl2-dev libsdl2-2.0-0 git wget file gpg appstream libfuse2t64 pkgconf
21+
sudo apt-get install -y g++ make pkg-config libgtk-3-dev libcanberra-gtk-module libcanberra-gtk3-module libgl-dev libasound2-dev libao-dev libopenal-dev libsdl2-dev libsdl2-2.0-0 git wget file gpg appstream libfuse2t64 pkgconf dpkg-dev
2222
2323
- name: Build ares
2424
run: |
@@ -30,19 +30,20 @@ jobs:
3030
3131
- name: Build appimage
3232
run: |
33+
cp linuxdeploy-x86_64.AppImage ares/
3334
cd ares
3435
wget https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh
3536
wget https://github.com/darealshinji/linuxdeploy-plugin-checkrt/releases/download/continuous/linuxdeploy-plugin-checkrt.sh
36-
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/2.0.0-alpha-1-20241106/linuxdeploy-x86_64.AppImage
37+
# wget https://github.com/linuxdeploy/linuxdeploy/releases/download/2.0.0-alpha-1-20241106/linuxdeploy-x86_64.AppImage
3738
chmod +x linuxdeploy-plugin-gtk.sh linuxdeploy-plugin-checkrt.sh linuxdeploy-x86_64.AppImage
3839
export LINUXDEPLOY_OUTPUT_VERSION="${MAJOR_VERSION}"
3940
export LD_LIBRARY_PATH=AppDir/usr/lib
4041
mkdir -p AppDir/usr/share/metainfo
4142
cp ../net.ares.emu.appdata.xml AppDir/usr/share/metainfo/
4243
cp desktop-ui/resource/ares.desktop desktop-ui/resource/net.ares.emu.desktop
4344
mkdir -p AppDir/usr/lib
44-
cp /usr/lib/x86_64-linux-gnu/{libcanberra.so.0,libcanberra-gtk3.so.0,libGL.so.1,libGL.so.1.7.0} AppDir/usr/lib
45-
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --plugin gtk --plugin checkrt --output appimage --desktop-file desktop-ui/resource/net.ares.emu.desktop --icon-file desktop-ui/resource/ares.png --exclude-library libwayland-client
45+
# cp /usr/lib/x86_64-linux-gnu/{libcanberra.so.0,libcanberra-gtk3.so.0,libGL.so.1,libGL.so.1.7.0} AppDir/usr/lib
46+
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir AppDir --plugin gtk --plugin checkrt --output appimage --desktop-file desktop-ui/resource/net.ares.emu.desktop --icon-file desktop-ui/resource/ares.png
4647

4748
- name: release
4849
uses: "marvinpinto/action-automatic-releases@latest"

linuxdeploy-x86_64.AppImage

12.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)