forked from probonopd/PrusaSlicer.AppImage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.sh
More file actions
30 lines (24 loc) · 961 Bytes
/
bundle.sh
File metadata and controls
30 lines (24 loc) · 961 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
28
29
30
#!/bin/sh
set -ex
export ARCH="$(uname -m)"
APPIMAGETOOL="https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$ARCH.AppImage"
#export UPINFO="gh-releases-zsync|$(echo $GITHUB_REPOSITORY | tr '/' '|')|$VERSION|*$ARCH.AppImage.zsync"
# NOW MAKE APPIMAGE
#SHARUN="https://raw.githubusercontent.com/sarrchri/prusaslicer-appimage/refs/heads/main/quick-sharun.sh"
#export OUTPUT_APPIMAGE=1
export OUTNAME=PrusaSlicer-"$VERSION"-"$ARCH".AppImage
export DESKTOP=/usr/resources/applications/PrusaSlicer.desktop
export ICON=/usr/resources/icons/PrusaSlicer.png
export LOCALE_FIX=1
export DEPLOY_OPENGL=1
export DEPLOY_VULKAN=1
# ADD LIBRARIES
#wget --retry-connrefused --tries=30 "$SHARUN"
chmod +x ./quick-sharun.sh
./quick-sharun.sh \
/usr/bin/prusa-slicer \
/usr/bin/OCCTWrapper.so
ln -s ../lib/bin/OCCTWrapper.so ./AppDir/bin/OCCTWrapper.so
cp -r /usr/resources ./AppDir/usr/
./quick-sharun.sh --make-appimage
echo "All Done!"