-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
27 lines (23 loc) · 857 Bytes
/
make-appimage.sh
File metadata and controls
27 lines (23 loc) · 857 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
26
27
#!/bin/sh
set -eu
ARCH=$(uname -m)
VERSION=$(pacman -Q prusa-slicer | 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=/usr/share/icons/hicolor/192x192/apps/PrusaSlicer.png
export DESKTOP=/usr/share/applications/PrusaSlicer.desktop
export LOCALE_FIX=1
export PATH_MAPPING_HARDCODED='prusa-slicer'
export DEPLOY_P11KIT=1
# Deploy dependencies
quick-sharun \
/usr/bin/prusa-slicer* \
/usr/share/PrusaSlicer \
/usr/lib/libnss_myhostname.so* \
/usr/lib/libnss_mdns4_minimal.so* \
/usr/lib/gio/modules/libgio*.so*
# Additional changes can be done in between here
# Turn AppDir into AppImage
quick-sharun --make-appimage