mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-29 19:03:42 +00:00
Update chrome.js
This commit is contained in:
parent
0de9edc83c
commit
b168b57de8
|
|
@ -79,8 +79,11 @@ var ChromeObject = function() {
|
||||||
|
|
||||||
this.setProfile = function(profileName, installedDir) {
|
this.setProfile = function(profileName, installedDir) {
|
||||||
this.profileName = (profileName == "Default" ? "Chrome" : profileName);
|
this.profileName = (profileName == "Default" ? "Chrome" : profileName);
|
||||||
this.workingDirectory = this.workingDirectory.replace(":installedDir", installedDir);
|
if (installedDir != null) {
|
||||||
this.binPath = this.binPath.replace(":installedDir", installedDir);
|
this.installedDir = installedDir;
|
||||||
|
}
|
||||||
|
this.workingDirectory = this.workingDirectory.replace(":installedDir", this.installedDir);
|
||||||
|
this.binPath = this.binPath.replace(":installedDir", this.installedDir);
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -1423,7 +1426,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.19";
|
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.4.20";
|
||||||
exports.AUTHOR = "abuse@catswords.net";
|
exports.AUTHOR = "abuse@catswords.net";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user