]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Say more about Linux's behavior
authorCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 05:10:42 +0000 (21:10 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 19 Jan 2015 05:43:22 +0000 (21:43 -0800)
docs/api/app.md

index 9bc5c8b24ae6ef0e22a78bb7518115456e224f5f..9462584d32bb88f63d08f402fb0899a6d57440eb 100644 (file)
@@ -103,13 +103,13 @@ You can request following paths by the names:
 * `home`: User's home directory
 * `appData`: Per-user application data directory, by default it is pointed to:
   * `%APPDATA%` on Windows
-  * `~/.config` on Linux
+  * `$XDG_CONFIG_HOME` or `~/.config` on Linux
   * `~/Library/Application Support` on OS X
 * `userData`: The directory for storing your app's configuration files, by
   default it is the `appData` directory appended with your app's name.
 * `cache`: Per-user application cache directory, by default it is pointed to:
   * `%APPDATA%` on Window, which doesn't has a universal place for cache
-  * `$XDG_CACHE_HOME` on Linux
+  * `$XDG_CACHE_HOME` or `~/.cache` on Linux
   * `~/Library/Caches` on OS X
 * `userCache`: The directory for placing your app's caches, by default it is the
  `cache` directory appended with your app's name.