Merge pull request #10191 from electron/add_log_path_support

add ability to access logs in getPath()
This commit is contained in:
Zeke Sikelianos 2017-09-29 11:11:29 -07:00 committed by GitHub
commit 9f895879bf
6 changed files with 41 additions and 1 deletions

View file

@ -375,6 +375,8 @@ int GetPathConstant(const std::string& name) {
return brightray::DIR_CACHE;
else if (name == "userCache")
return brightray::DIR_USER_CACHE;
else if (name == "logs")
return brightray::DIR_APP_LOGS;
else if (name == "home")
return base::DIR_HOME;
else if (name == "temp")