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:
Namhyeon Go 2025-11-21 19:11:08 +09:00
parent 5d907e3869
commit 77dc2b88c5

View File

@ -111,7 +111,7 @@ var ChromeObject = function() {
if (dirname != null) {
this.userDataDir = dirname;
} else {
this.userDataDir = SYS.getEnvString("APPDATA") + "\\WelsonJS\\" + publisherName.get() + "_user_profile";
this.userDataDir = SYS.getAppDataDir() + "\\" + publisherName.get() + "_user_profile";
}
return this;
};
@ -1498,7 +1498,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
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.global = global;
exports.require = global.require;