Update chrome.js

This commit is contained in:
Namhyeon Go 2024-04-24 03:33:12 +09:00 committed by GitHub
parent 0b4cacf417
commit c1cc02c217
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ var ChromeObject = function(interfaces) {
this.setUserDataDir = function(dirname) {
if (dirname != null) {
this.userDataDir = dirname + "\\" + this.profileName;
this.userDataDir = dirname;
} else {
this.userDataDir = SHELL.getPathOfMyDocuments() + "\\UserData_Chrome_" + this.profileName;
}