-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
27 lines (21 loc) · 895 Bytes
/
make-appimage.sh
File metadata and controls
27 lines (21 loc) · 895 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)
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://github.com/OpenXRay/xray-16/dev/misc/media/icons/64x64/openxray_soc.png
export DEPLOY_OPENGL=1
export DEPLOY_PULSE=1
# Deploy dependencies
quick-sharun ./AppDir/bin/*
# Additional changes can be done in between here
# this app has problems with other locales breaking physics
echo 'LC_ALL=C.UTF-8' >> ./AppDir/.env
echo 'ANYLINUX_DO_NOT_LOAD_LIBS=libpipewire*.so*:${ANYLINUX_DO_NOT_LOAD_LIBS}' >> ./AppDir/.env
# 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 --simple-test ./dist/*.AppImage