mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
Fixes #6031 - Add home and removable-media plugs for local file sync access - Add desktop and desktop-legacy plugs for taskbar pinning in Cinnamon - Update install hook to prompt for home interface connection - Add documentation warnings about snap limitations and data persistence All plugs include inline comments explaining their purpose and linking to issue.
24 lines
No EOL
951 B
Bash
Executable file
24 lines
No EOL
951 B
Bash
Executable file
#!/bin/sh
|
|
# Connect interfaces for idle detection
|
|
if snapctl is-connected login-session-observe; then
|
|
echo "login-session-observe interface already connected"
|
|
else
|
|
echo "Please connect login-session-observe interface for idle detection:"
|
|
echo "sudo snap connect superproductivity:login-session-observe"
|
|
fi
|
|
|
|
if snapctl is-connected system-observe; then
|
|
echo "system-observe interface already connected"
|
|
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 |