mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-07 15:15:05 +01:00
17 lines
864 B
Bash
Executable File
17 lines
864 B
Bash
Executable File
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
|