-
i don t konw where is my files stored, i need a tool to sync those files in cloud, so i can deal with it in another computer.. |
Beta Was this translation helpful? Give feedback.
Answered by
fourdim
Oct 18, 2023
Replies: 1 comment
-
https://github.com/electron/electron/blob/main/docs/api/app.md#appgetpathname
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fourdim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/electron/electron/blob/main/docs/api/app.md#appgetpathname
app.getPath(name)
name
string - You can request the following paths by the name:home
User's home directory.appData
Per-user application data directory, which by default points to:%APPDATA%
on Windows$XDG_CONFIG_HOME
or~/.config
on Linux~/Library/Application Support
on macOSuserData
The directory for storing your app's configuration files, whichby default is the
appData
directory appended with your app's name. Byconvention files storing user data should be written to this directory, and
it is not recommended to write large files here because some environments
may backup this directory to cloud storage.