Implement app.getHomeDir with app.getPath
This commit is contained in:
parent
d31df439c3
commit
a988b48016
2 changed files with 5 additions and 9 deletions
|
@ -67,6 +67,8 @@ int GetPathConstant(const std::string& name) {
|
|||
return brightray::DIR_APP_DATA;
|
||||
else if (name == "userData")
|
||||
return brightray::DIR_USER_DATA;
|
||||
else if (name == "home")
|
||||
return base::DIR_HOME;
|
||||
else
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue