-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
22 lines (18 loc) · 977 Bytes
/
make-appimage.sh
File metadata and controls
22 lines (18 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -eu
ARCH=$(uname -m)
VERSION=$(pacman -Q gapless | awk '{print $2; exit}')
export ARCH VERSION
export OUTPATH=./dist
export ADD_HOOKS="self-updater.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export ICON=/usr/share/icons/hicolor/scalable/apps/com.github.neithern.g4music.svg
export DESKTOP=/usr/share/applications/com.github.neithern.g4music.desktop
export DEPLOY_PIPEWIRE=1 # Pipewire audio backend is removed in later versions, but I'll let it stay here in case it gets added again
export DEPLOY_GSTREAMER=1
export STARTUPWMCLASS=com.github.neithern.g4music # Default to Wayland's wmclass. For X11, GTK_CLASS_FIX will force the wmclass to be the Wayland one.
export GTK_CLASS_FIX=1
# Trace and deploy all files and directories needed for the application (including binaries, libraries and others)
quick-sharun /usr/bin/g4music
# Turn AppDir into AppImage
quick-sharun --make-appimage