-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
29 lines (23 loc) · 1.13 KB
/
make-appimage.sh
File metadata and controls
29 lines (23 loc) · 1.13 KB
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
ARCH=$(uname -m)
VERSION=$(pacman -Q phantomsatellite-gtk3 | awk '{print $2; exit}') # example command to get version of application here
export ARCH VERSION
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://raw.githubusercontent.com/DCFUKSURMOM/Phantom-Satellite/refs/heads/master/phantomsatellite/branding/unofficial/mozicon128.png
export DESKTOP=https://raw.githubusercontent.com/DCFUKSURMOM/Phantom-Satellite/refs/heads/master/phantomsatellite/branding/unofficial/browser.desktop
export DEPLOY_GTK=1
export GTK_DIR=gtk-3.0
export DEPLOY_OPENGL=1
# Deploy dependencies
quick-sharun ./AppDir/bin/phantomsatellite
# Additional changes can be done in between here
mkdir -p ./AppDir/share/fonts/TTF
cp -v /usr/share/fonts/TTF/DejaVuSans.ttf ./AppDir/share/fonts/TTF
# 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