Skip to content

where is my page stored #4616

Answered by fourdim
wind4gis asked this question in Q&A
Discussion options

You must be logged in to vote

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 macOS
    • userData The directory for storing your app's configuration files, which
      by default is the appData directory appended with your app's name. By
      convention 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fourdim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants