We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc72f73 commit 0cdb3c0Copy full SHA for 0cdb3c0
make-appimage.sh
@@ -31,7 +31,10 @@ quick-sharun /usr/bin/varia \
31
# Patch varia's shell script to be POSIX and to use AppImage directories
32
cat << 'EOF' > ./AppDir/bin/varia
33
#!/bin/sh
34
-python3 ./varia-py.py aria2c ffmpeg NOSNAP "$@"
+pythonexec="$(command -v python3)"
35
+# For some reason, SHARUN_DIR is not exposed here, so I need to get it manually
36
+sharunbindir="${pythonexec%/*}"
37
+"$pythonexec" "${sharunbindir}/varia-py.py" "${sharunbindir}/aria2c" "${sharunbindir}/ffmpeg" NOSNAP "$@"
38
EOF
39
40
# Patch varia's python script to use AppImage directories
0 commit comments