2 parents 2ebc844 + 55cd0a6 commit d7576fcCopy full SHA for d7576fc
1 file changed
admin/linux/build-appimage.sh
@@ -70,8 +70,12 @@ rm -rf usr/share/nemo-python/
70
mkdir -p AppDir/usr/share
71
mv usr/share/${EXECUTABLE_NAME} AppDir/usr/share/${EXECUTABLE_NAME}
72
73
-# Move sync exclude to right location
74
-mv /app/etc/*/sync-exclude.lst usr/bin/
+# Move sync exclude to right location. It has to end up inside AppDir
+# (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/
79
rm -rf etc
80
81
# com.nextcloud.desktopclient.nextcloud.desktop
0 commit comments