mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-11-27 18:11:20 +00:00
Update user data directory logic and version info
Replaced usage of SYS.getEnvString("APPDATA") with SYS.getAppDataDir() for determining the user data directory. Updated VERSIONINFO to 0.5.4 to reflect the change.
This commit is contained in:
parent
5d907e3869
commit
77dc2b88c5
|
|
@ -111,7 +111,7 @@ var ChromeObject = function() {
|
||||||
if (dirname != null) {
|
if (dirname != null) {
|
||||||
this.userDataDir = dirname;
|
this.userDataDir = dirname;
|
||||||
} else {
|
} else {
|
||||||
this.userDataDir = SYS.getEnvString("APPDATA") + "\\WelsonJS\\" + publisherName.get() + "_user_profile";
|
this.userDataDir = SYS.getAppDataDir() + "\\" + publisherName.get() + "_user_profile";
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
@ -1498,7 +1498,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
|
||||||
|
|
||||||
exports.publisherName = publisherName;
|
exports.publisherName = publisherName;
|
||||||
|
|
||||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.5.3";
|
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.5.4";
|
||||||
exports.AUTHOR = "gnh1201@catswords.re.kr";
|
exports.AUTHOR = "gnh1201@catswords.re.kr";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user