Skip to content

Commit d9b4656

Browse files
authored
update to template
1 parent f9271cf commit d9b4656

File tree

2 files changed

+20
-43
lines changed

2 files changed

+20
-43
lines changed

desmume-appimage.sh

Lines changed: 0 additions & 43 deletions
This file was deleted.

make-appimage.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/sh
2+
3+
set -eu
4+
5+
ARCH=$(uname -m)
6+
VERSION=$(pacman -Q desmume | awk '{print $2; exit}') # example command to get version of application here
7+
export ARCH VERSION
8+
export OUTPATH=./dist
9+
export ADD_HOOKS="self-updater.bg.hook"
10+
export DESKTOP=/usr/share/applications/org.desmume.DeSmuME.desktop
11+
export ICON=/usr/share/icons/hicolor/scalable/apps/org.desmume.DeSmuME.svg
12+
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
13+
export DEPLOY_SDL=1
14+
export DEPLOY_OPENGL=1
15+
16+
# Deploy dependencies
17+
quick-sharun /usr/bin/desmume
18+
19+
# Turn AppDir into AppImage
20+
quick-sharun --make-appimage

0 commit comments

Comments
 (0)