Skip to content

Commit 7ee708c

Browse files
authored
Initial deployment
1 parent eb5fba5 commit 7ee708c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

make-appimage.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,24 @@
33
set -eu
44

55
ARCH=$(uname -m)
6-
VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here
6+
VERSION=$(pacman -Q secrets | awk '{print $2; exit}')
77
export ARCH VERSION
88
export OUTPATH=./dist
99
export ADD_HOOKS="self-updater.bg.hook"
1010
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
11-
export ICON=PATH_OR_URL_TO_ICON
12-
export DESKTOP=PATH_OR_URL_TO_DESKTOP_ENTRY
11+
export ICON=/usr/share/icons/hicolor/scalable/apps/org.gnome.World.Secrets.svg
12+
export DESKTOP=/usr/share/applications/org.gnome.World.Secrets.desktop
13+
export DEPLOY_SYS_PYTHON=1
14+
export DEPLOY_OPENGL=1
15+
export DEPLOY_GTK=1
16+
export GTK_DIR=gtk-4.0
17+
export ANYLINUX_LIB=1
18+
export DEPLOY_LOCALE=1
19+
export STARTUPWMCLASS=secrets # For Wayland, this is 'org.gnome.World.Secrets', so this needs to be changed in desktop file manually by the user in that case until some potential automatic fix exists for this
1320

1421
# Deploy dependencies
15-
quick-sharun /PATH/TO/BINARY_AND_LIBRARIES_HERE
16-
17-
# Additional changes can be done in between here
22+
quick-sharun /usr/bin/secrets \
23+
/usr/lib/libgirepository*
1824

1925
# Turn AppDir into AppImage
2026
quick-sharun --make-appimage

0 commit comments

Comments
 (0)