-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
29 lines (25 loc) · 913 Bytes
/
make-appimage.sh
File metadata and controls
29 lines (25 loc) · 913 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
28
29
#!/bin/sh
set -eu
# Setup
ARCH=$(uname -m)
export ARCH
export OUTPATH=./dist
export ICON=/usr/share/icons/hicolor/scalable/apps/io.github.wartybix.Constrict.svg
export DESKTOP=/usr/share/applications/io.github.wartybix.Constrict.desktop
export PATH_MAPPING='/usr/share/constrict:${SHARUN_DIR}/share/constrict'
export DEPLOY_PYTHON=1
export STARTUPWMCLASS=io.github.wartybix.Constrict # Default to Wayland's wmclass. For X11, GTK_CLASS_FIX will force the wmclass to be the Wayland one.
export GTK_CLASS_FIX=1
# Deploy dependencies
quick-sharun \
/usr/bin/constrict \
/usr/bin/ffprobe \
/usr/bin/ffmpeg \
/usr/lib/libgtk-4.so* \
/usr/lib/libadwaita-1.so* \
/usr/share/constrict
# Turn AppDir into AppImage
quick-sharun --make-appimage
# Test the app for 12 seconds, if the test fails due to the app
# having issues running in the CI use --simple-test instead
quick-sharun --test ./dist/*.AppImage