-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
25 lines (18 loc) · 902 Bytes
/
make-appimage.sh
File metadata and controls
25 lines (18 loc) · 902 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
#!/bin/sh
set -eu
ARCH=$(uname -m)
export ARCH
export OUTPATH=./dist
export ADD_HOOKS="self-updater.bg.hook:qt-theme.src.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export ICON=https://bitbucket.org/heldercorreia/speedcrunch/raw/68c00cbe3fc3d493c76d4d2d2a240e0e8c839778/gfx/speedcrunch.svg
export DESKTOP=https://bitbucket.org/heldercorreia/speedcrunch/raw/68c00cbe3fc3d493c76d4d2d2a240e0e8c839778/pkg/org.speedcrunch.SpeedCrunch.desktop
export ALWAYS_SOFTWARE=1
# Deploy dependencies
quick-sharun ./AppDir/bin/* /usr/share/X11/xkb /usr/share/X11/locale
# Additional changes can be done in between here
# 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