Commit Graph

6 Commits

Author SHA1 Message Date
Joao Moreno
c34d71d8ce VSCODE_APPDATA 2017-08-10 10:42:49 +02:00
apwelsh
5f73e5a5a9 Update paths.js to allow use of ENV variable instead of command-line override for userDataPath
This patch allows defining the environment variable "vscode_config_prefix" as a global default, instead of relying on command line arguments.  The solution is similar to NPM's npm_config_prefix environment variable.  if defined, APPDATA, XDG_CONFIG_HOME, and other solutions are ignored for determining the path value.  This is 1/2 the solution to removing the user data from the Windows roaming profile.
2017-05-17 19:13:07 -07:00
Joao Moreno
746f66a6e7 fallback when no APPDATA is defined
fixes #10616
2016-08-31 15:16:43 +02:00
Joao Moreno
088d4fb45a paths.getDefaultUserDataPath 2016-08-17 12:58:30 +02:00
Benjamin Pasero
549c1772fe no more process.argv dependency in environmentService 2016-08-17 11:16:02 +02:00
Joao Moreno
e634302883 extract userData path computation 2016-05-04 11:26:38 +02:00