-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
24 lines (19 loc) · 869 Bytes
/
Copy pathmake-appimage.sh
File metadata and controls
24 lines (19 loc) · 869 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.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export ICON=https://gitlab.com/sonicdcer/DNZHRecomp/-/raw/main/icons/512.png?ref_type=heads
export DESKTOP=https://gitlab.com/sonicdcer/DNZHRecomp/-/raw/main/.github/linux/DNZHRecompiled.desktop?ref_type=heads
export STARTUPWMCLASS=DNZHRecompiled
export DEPLOY_VULKAN=1
# Deploy dependencies
quick-sharun ./AppDir/bin/DNZHRecompiled
echo 'SHARUN_WORKING_DIR=${SHARUN_DIR}/bin' >> ./AppDir/.env
# Turn AppDir into AppImage
quick-sharun --make-appimage
# Test the app for 12 seconds, if the app normally quits before that time
# then skip this or check if some flag can be passed that makes it stay open
quick-sharun --simple-test ./dist/*.AppImage