-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
25 lines (19 loc) · 850 Bytes
/
make-appimage.sh
File metadata and controls
25 lines (19 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
set -eu
ARCH=$(uname -m)
VERSION=$(pacman -Q transmission-qt | awk '{print $2; exit}') # example command to get version of application here
export ARCH VERSION
export OUTPATH=./dist
export ADD_HOOKS="self-updater.bg.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export ICON=https://raw.githubusercontent.com/transmission/transmission/refs/heads/main/icons/hicolor_apps_scalable_transmission.svg
export DESKTOP=/usr/share/applications/transmission-qt.desktop
export APPNAME="Transmission_Qt"
export ALWAYS_SOFTWARE=1
# Deploy dependencies
quick-sharun /usr/bin/transmission* /usr/share/transmission
# Additional changes can be done in between here
# Turn AppDir into AppImage
quick-sharun --make-appimage
# test the final app
quick-sharun --test ./dist/*.AppImage