Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build(desktop): make the AppDir readable before packaging
Elian Doran01f993b427ec
diff --git a/apps/desktop/scripts/build-appimage.sh b/apps/desktop/scripts/build-appimage.shindex 5705b88143..b6cfa528aa 100755--- a/apps/desktop/scripts/build-appimage.sh+++ b/apps/desktop/scripts/build-appimage.sh@@ -46,6 +46,9 @@ mkdir -p "$APPDIR"# Copy the packaged app contents into the AppDircp -a "$PACKAGED_DIR"/. "$APPDIR/"+# `cp -a` carries the packaged dir's 0700 mode onto the AppDir, and appimagetool refuses an+# AppDir that other users cannot read.+chmod -R a+rX "$APPDIR"# Create the AppRun entry pointcat > "$APPDIR/AppRun" << 'APPRUN_EOF'