-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake-appimage.sh
More file actions
52 lines (46 loc) · 1.44 KB
/
Copy pathmake-appimage.sh
File metadata and controls
52 lines (46 loc) · 1.44 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
set -eu
ARCH=$(uname -m)
VERSION=$(pacman -Q ghostscript | 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://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/src/images/ghostscript-logo.png
export DESKTOP=DUMMY
export MAIN_BIN=gs
export ALWAYS_SOFTWARE=1 # gsx is gtk3
# Deploy dependencies
quick-sharun \
/usr/bin/dvipdf \
/usr/bin/eps2eps \
/usr/bin/ghostscript \
/usr/bin/gs \
/usr/bin/gsbj \
/usr/bin/gsdj \
/usr/bin/gsdj500 \
/usr/bin/gslj \
/usr/bin/gslp \
/usr/bin/gsnd \
/usr/bin/gsx \
/usr/bin/pdf2dsc \
/usr/bin/pdf2ps \
/usr/bin/pf2afm \
/usr/bin/pfbtopfa \
/usr/bin/pphs \
/usr/bin/printafm \
/usr/bin/ps2ascii \
/usr/bin/ps2epsi \
/usr/bin/ps2pdf \
/usr/bin/ps2pdf12 \
/usr/bin/ps2pdf13 \
/usr/bin/ps2pdf14 \
/usr/bin/ps2pdfwr \
/usr/bin/ps2ps \
/usr/bin/ps2ps2
# 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 --simple-test ./dist/*.AppImage