mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-12 04:31:04 +00:00
Update chrome.js
This commit is contained in:
parent
0b4cacf417
commit
c1cc02c217
|
@ -103,7 +103,7 @@ var ChromeObject = function(interfaces) {
|
||||||
|
|
||||||
this.setUserDataDir = function(dirname) {
|
this.setUserDataDir = function(dirname) {
|
||||||
if (dirname != null) {
|
if (dirname != null) {
|
||||||
this.userDataDir = dirname + "\\" + this.profileName;
|
this.userDataDir = dirname;
|
||||||
} else {
|
} else {
|
||||||
this.userDataDir = SHELL.getPathOfMyDocuments() + "\\UserData_Chrome_" + this.profileName;
|
this.userDataDir = SHELL.getPathOfMyDocuments() + "\\UserData_Chrome_" + this.profileName;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user