Skip to content

Commit f1ad8ef

Browse files
authored
update to template
1 parent d59b6c2 commit f1ad8ef

2 files changed

Lines changed: 30 additions & 37 deletions

File tree

cursor-appimage.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

make-appimage.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/sh
2+
3+
set -eu
4+
5+
ARCH=$(uname -m)
6+
export ARCH
7+
export OUTPATH=./dist
8+
export ADD_HOOKS="self-updater.bg.hook:fix-namespaces.hook"
9+
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
10+
export APPNAME=Cursor
11+
export DEPLOY_OPENGL=1
12+
export DEPLOY_VULKAN=1
13+
export DEPLOY_PIPEWIRE=1
14+
export OPTIMIZE_LAUNCH=1
15+
16+
# Deploy dependencies
17+
quick-sharun \
18+
./AppDir/bin/* \
19+
/usr/bin/hostname \
20+
/usr/lib/libnss* \
21+
/usr/lib/libsoftokn3.so \
22+
/usr/lib/libfreeblpriv3.so \
23+
/usr/lib/pkcs11/*
24+
25+
# Turn AppDir into AppImage
26+
quick-sharun --make-appimage
27+
28+
# Test the app for 12 seconds, if the test fails due to the app
29+
# having issues running in the CI use --simple-test instead
30+
quick-sharun --test ./dist/*.AppImage

0 commit comments

Comments
 (0)