Keep List of Shared Locations #1
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sciactive/quickdav#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I usually share a small subset of what's in the user's home directory. Every time the application starts, this is lost, so I wonder if it's possible to persist that change between sessions/restarts.
Yeah, I can do that. Actually, it might be good to save the entire config.
That would be great. I think that makes sense, but persisting the password wouldn't be that straightforward, and the application might need some other permissions...so it could be cumbersome 😬
Perhaps the password should be left out? 🤔
I can persist the password only if the user changes it. Maybe that would be a good approach?
Or maybe make it an option to save the config and the shared folders separately.
I'm not sure, really. I don't know how that looks like. Is it currently saved anywhere?
What I have in mind is that the application's configuration is a JSON file, so saving the password in clear is not great. But if it's something different, maybe a secure database or something similar, provided by Electron, then it's fine.
I think I can access the system's keychain from Electron. That could let me store the password encrypted. Right now nothing is saved, it's just a default setup every time you open the app. I could also have it save the window size and location.
OK...that's awesome 🙌
You are going to need to add
--filesystem=xdg-run/keyringand--talk-name=org.freedesktop.secretsto the Flatpak manifest — but probably you already knew that.I didn't know that. Thank you. :D