Add "cache" and "userCache" directories
This commit is contained in:
parent
9a04f67c0a
commit
ce52a87477
5 changed files with 14 additions and 2 deletions
|
@ -42,6 +42,7 @@ if (option.file && !option.webdriver) {
|
|||
else if (packageJson.name)
|
||||
app.setName(packageJson.name);
|
||||
app.setPath('userData', path.join(app.getPath('appData'), app.getName()));
|
||||
app.setPath('userCache', path.join(app.getPath('cache'), app.getName()));
|
||||
}
|
||||
|
||||
// Run the app.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue