mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-17 19:39:14 +01:00
AppImage (#231)
This commit is contained in:
parent
b803da8a58
commit
26f5fcc952
9
.github/linux/Zelda64Recompiled.desktop
vendored
Normal file
9
.github/linux/Zelda64Recompiled.desktop
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Zelda64Recompiled
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Icon=Zelda64Recompiled
|
||||
Exec=Zelda64Recompiled
|
||||
GenericName=Zelda64Recompiled
|
||||
Categories=Game;
|
||||
|
BIN
.github/linux/Zelda64Recompiled.png
vendored
Normal file
BIN
.github/linux/Zelda64Recompiled.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
16
.github/linux/appimage.sh
vendored
Executable file
16
.github/linux/appimage.sh
vendored
Executable file
@ -0,0 +1,16 @@
|
||||
curl -sSfLO "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-static-x86_64.AppImage"
|
||||
curl -sSfLO "https://github.com/linuxdeploy/linuxdeploy-plugin-gtk/raw/master/linuxdeploy-plugin-gtk.sh"
|
||||
chmod a+x linuxdeploy*
|
||||
|
||||
mkdir -p AppDir/usr/bin
|
||||
cp Zelda64Recompiled AppDir/usr/bin/
|
||||
cp -r assets/ AppDir/usr/bin/
|
||||
cp .github/linux/{Zelda64Recompiled.desktop,Zelda64Recompiled.png} AppDir/
|
||||
|
||||
./linuxdeploy-static-x86_64.AppImage --appimage-extract
|
||||
mv squashfs-root/ deploy
|
||||
ARCH=x86_64 ./deploy/AppRun --appdir=AppDir/ -d AppDir/Zelda64Recompiled.desktop -i AppDir/Zelda64Recompiled.png -e AppDir/usr/bin/Zelda64Recompiled --plugin gtk
|
||||
sed -i 's/exec/#exec/g' AppDir/AppRun
|
||||
echo 'cd "$this_dir"/usr/bin/' >> AppDir/AppRun
|
||||
echo './Zelda64Recompiled' >> AppDir/AppRun
|
||||
ARCH=x86_64 ./deploy/usr/bin/linuxdeploy-plugin-appimage --appdir=AppDir
|
9
.github/workflows/validate.yml
vendored
9
.github/workflows/validate.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ninja-build libsdl2-dev libgtk-3-dev lld llvm clang-15
|
||||
sudo apt-get install -y ninja-build libsdl2-dev libgtk-3-dev lld llvm clang-15 libfuse2
|
||||
|
||||
# Install SDL2
|
||||
echo ::group::install SDL2
|
||||
@ -96,6 +96,13 @@ jobs:
|
||||
with:
|
||||
name: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}
|
||||
path: Zelda64Recompiled-${{ runner.os }}-${{ matrix.type }}.tar.gz
|
||||
- name: Prepare AppImage
|
||||
run: ./.github/linux/appimage.sh
|
||||
- name: Zelda64Recomp AppImage
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Zelda64Recompiled-AppImage-${{ matrix.type }}
|
||||
path: Zelda64Recompiled-x86_64.AppImage
|
||||
build-windows:
|
||||
needs: authorize
|
||||
runs-on: windows-latest
|
||||
|
Loading…
Reference in New Issue
Block a user