standardnotes / desktop

[Moved to https://github.com/standardnotes/app] A free, open-source, and end-to-end encrypted notes app. https://standardnotes.com
GNU Affero General Public License v3.0
1.4k stars 115 forks source link

Ability to change default data directory #167

Open derkommandant opened 6 years ago

derkommandant commented 6 years ago

There is not an option to change the location where the note files are dropped (using MacOS High Sierra). By default they are all put in the logged in user document folders. Is there a way to change the location?

moughxyz commented 6 years ago

Not yet, but this is something on my mind.

seascape commented 6 years ago

Please give us the option to store all user data in at least the program folder (a la portable apps) or ideally, a user-dictated folder.

As a Windows user I prefer portable apps whenever possible. Having important data strewn around the C:\Users folders makes backup and migration much more of a hassle.

Edit: I see from this issue that even the desktop app is only installable to Users\xxx\AppData? That's unfortunate for user choice and portability. (I'm just discovering these things because I'm researching your platform for potentially switching from Evernote.)

moughxyz commented 6 years ago

Indeed, definitely something that would be useful. Have yet to determine if this is possible with Electron/electron-builder.

seascape commented 6 years ago

This suggests that at least app install path can be user-specified.

https://stackoverflow.com/questions/45661129/how-to-set-a-custom-path-for-electron-app-installer

leafcutterant commented 5 years ago

I too would be very grateful for a portable version on Windows (meaning that the installer just "extracts" the program files to a user-defined folder and the app doesn't rely on anything outside of that folder, even the user data resides in there).

vensko commented 3 years ago

It's an Electron app, so standard Chromium swtiches still work: "Standard Notes.exe" "--user-data-dir=YOUR_PATH\Standard Notes" I believe, it should work the same in MacOS.

JaspalSuri commented 3 years ago

Hi @vensko, thank you for sharing that. 🙂