-
-
Notifications
You must be signed in to change notification settings - Fork 115
sleek in a sandboxed environment
sleek is available for download on the Apple Mac App Store, and when users download the app from there, it operates within a sandbox for enhanced security.
When sleek, operating within the sandbox, needs to access files on the local file system, it utilizes a file chooser. This file chooser, in turn, provides sleek with a security-scoped bookmark, as outlined in the documentation.
Whenever sleek reads or writes data to the todo file, the security-scoped bookmark is utilized to access the file. This process functions smoothly when sleek is the sole application handling the todo file. However, in scenarios where the todo file is synchronized, such as through Syncthing, Google Drive or Syncthing, issues may arise. For instance, if Syncthing is synchronizing the file, the bookmark may become invalid and marked as stale. In such cases, sleek will be unable to access the file until the user removes it from sleek and re-adds it.