File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -eu
4+
5+ ARCH=" $( uname -m) "
6+ VERSION=" $( cat ~ /version) "
7+ URUNTIME=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/uruntime2appimage.sh"
8+ SHARUN=" https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
9+
10+ export ADD_HOOKS=" self-updater.bg.hook:fix-namespaces.hook"
11+ export UPINFO=" gh-releases-zsync|${GITHUB_REPOSITORY%/* } |${GITHUB_REPOSITORY#*/ } |latest|*$ARCH .AppImage.zsync"
12+ export OUTNAME=Cursor-" $VERSION " -anylinux-" $ARCH " .AppImage
13+ export DEPLOY_OPENGL=1
14+ export DEPLOY_VULKAN=1
15+ export DEPLOY_PIPEWIRE=1
16+ export OPTIMIZE_LAUNCH=1
17+
18+ # DEPLOY ALL LIBS
19+ wget --retry-connrefused --tries=30 " $SHARUN " -O ./quick-sharun
20+ chmod +x ./quick-sharun
21+ ./quick-sharun \
22+ ./AppDir/bin/* \
23+ /usr/lib/libnss* \
24+ /usr/lib/libsoftokn3.so \
25+ /usr/lib/libfreeblpriv3.so \
26+ /usr/lib/pkcs11/*
27+
28+ # Weird
29+ ln -s ../bin/chrome ./AppDir/shared/bin/exe
30+
31+ # MAKE APPIMAGE WITH URUNTIME
32+ wget --retry-connrefused --tries=30 " $URUNTIME " -O ./uruntime2appimage
33+ chmod +x ./uruntime2appimage
34+ ./uruntime2appimage
35+
36+ mkdir -p ./dist
37+ mv -v ./* .AppImage* ./dist
38+ mv -v ~ /version ./dist
39+ echo " All Done!"
You can’t perform that action at this time.
0 commit comments