diff --git a/README.md b/README.md index fd43cc7ae..8f6e631ed 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,18 @@ sudo snap install --channel=edge superproductivity sudo snap set core experimental.refresh-app-awareness=true ``` +**Important: Enable Local File Sync** +To use local file sync, you need to manually connect the `home` interface: + +```bash +sudo snap connect superproductivity:home +``` + +**⚠️ Snap Data Persistence Warning** +When uninstalling the snap package, all user data (tasks, projects, settings) stored in `~/snap/superproductivity/common/` may be removed. Always export your data before uninstalling. Consider using Flatpak, AppImage, or .deb packages if you prefer data to persist in the standard `~/.config/` location. + +For more details, see [issue #6031](https://github.com/super-productivity/super-productivity/issues/6031). + Get it from the Snap Store diff --git a/electron-builder.yaml b/electron-builder.yaml index b41e20c9f..5a1abc65f 100644 --- a/electron-builder.yaml +++ b/electron-builder.yaml @@ -80,6 +80,13 @@ snap: - password-manager-service - system-observe - login-session-observe + # Fix for issue #6031: Add filesystem access for local file sync + # https://github.com/super-productivity/super-productivity/issues/6031 + - home # Allows file picker to access user's home directory for sync + - removable-media # Allows sync to external drives/USB storage + # Fix for issue #6031: Add desktop integration for taskbar pinning in Cinnamon + - desktop # Provides D-Bus interfaces for window manager integration + - desktop-legacy # Fallback for older desktop environments flatpak: runtimeVersion: '23.08' diff --git a/snap/hooks/install b/snap/hooks/install index 635acff11..4cb612458 100755 --- a/snap/hooks/install +++ b/snap/hooks/install @@ -12,4 +12,13 @@ if snapctl is-connected system-observe; then else echo "Please connect system-observe interface for better system integration:" echo "sudo snap connect superproductivity:system-observe" +fi + +# Fix for issue #6031: Prompt for home interface connection for local file sync +if snapctl is-connected home; then + echo "home interface already connected" +else + echo "Please connect home interface to enable local file sync:" + echo "sudo snap connect superproductivity:home" + echo "Without this, you won't be able to sync to local files outside the snap container." fi \ No newline at end of file