Skip to content

Commit d7576fc

Browse files
authored
Merge pull request #10595 from xhon-pelushi/fix/appimage-sync-exclude-8483
fix(sync): add ~$ to default exclusion list
2 parents 2ebc844 + 55cd0a6 commit d7576fc

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎admin/linux/build-appimage.sh‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,12 @@ rm -rf usr/share/nemo-python/
7070
mkdir -p AppDir/usr/share
7171
mv usr/share/${EXECUTABLE_NAME} AppDir/usr/share/${EXECUTABLE_NAME}
7272

73-
# Move sync exclude to right location
74-
mv /app/etc/*/sync-exclude.lst usr/bin/
73+
# Move sync exclude to right location. It has to end up inside AppDir
74+
# (not just /app), otherwise it is never packed into the AppImage and
75+
# ConfigFile::excludeFileFromSystem()'s AppImage fallback finds nothing
76+
# next to the executable at runtime.
77+
mkdir -p AppDir/usr/bin
78+
mv /app/etc/*/sync-exclude.lst AppDir/usr/bin/
7579
rm -rf etc
7680

7781
# com.nextcloud.desktopclient.nextcloud.desktop

0 commit comments

Comments
 (0)