-
Notifications
You must be signed in to change notification settings - Fork 1
/
deploy.sh
30 lines (23 loc) · 899 Bytes
/
deploy.sh
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
#!/usr/bin/env bash
(
cd preloads
make
)
(
mkdir -p make-portable.AppDir
cd make-portable.AppDir
cp ../preloads/*.so ../make-portable* .
chmod +x make-portable.sh
ln -s make-portable.sh AppRun
./AppRun --appdir=Strace --minimal-apprun strace --help
wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x "appimagetool-x86_64.AppImage"
./appimagetool-x86_64.AppImage --appimage-extract
mv "squashfs-root" "appimagetool.AppDir"
rm "appimagetool-x86_64.AppImage"
)
wget -q "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool-x86_64.AppImage
ARCH=x86_64 ./appimagetool-x86_64.AppImage --appimage-extract-and-run make-portable.AppDir
mv make-portable-x86_64.AppImage make-portable
rm -rfv make-portable.AppDir appimagetool-x86_64.AppImage