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 c0be08e commit 8ed7dc7Copy full SHA for 8ed7dc7
make-appimage.sh
@@ -23,8 +23,10 @@ quick-sharun /usr/bin/secrets \
23
/usr/lib/libgirepository*
24
25
# Patch secrets to use AppImage's directory
26
-sed -i 's|const.PKGDATADIR|os.getenv("SHARUN_DIR"), "share"|' ./AppDir/bin/secrets
27
-sed -i 's|const.LOCALEDIR|os.getenv("SHARUN_DIR"), "share", "locale"|' ./AppDir/bin/secrets
+sed -i '/from gsecrets import const/a \
+SHARUN_DIR = os.getenv('"'"'SHARUN_DIR'"'"')\n\
28
+PKGDATADIR = os.path.join(SHARUN_DIR, '"'"'share'"'"')\n\
29
+LOCALEDIR = os.path.join(SHARUN_DIR, '"'"'share'"'"', '"'"'locale'"'"')' ./AppDir/bin/secrets
30
31
# Turn AppDir into AppImage
32
quick-sharun --make-appimage
0 commit comments