Update adb binary path and contributor info

Changed the default adb binary path to use the app data directory for improved portability. Updated copyright and contributor information. Bumped VERSIONINFO to 0.2.3.
This commit is contained in:
Namhyeon, Go 2025-12-01 16:35:54 +09:00
parent 3e82eeeb4b
commit fc7a13ceba

View File

@ -1,5 +1,5 @@
// adb.js // adb.js
// Copyright 2019-2025, Namhyeon Go <gnh1201@catswords.re.kr> and the WelsonJS contributors. // Namhyeon Go <gnh1201@catswords.re.kr> and the Catswords OSS contributors.
// SPDX-License-Identifier: GPL-3.0-or-later // SPDX-License-Identifier: GPL-3.0-or-later
// https://github.com/gnh1201/welsonjs // https://github.com/gnh1201/welsonjs
// //
@ -91,7 +91,7 @@ function ADBObject() {
}; };
// set the binary path // set the binary path
this.binPath = "bin\\platform-tools_r33.0.0-windows\\platform-tools\\adb.exe"; this.binPath = SYS.getAppDataDir() + "\\android_platform_tools\\adb.exe";
this._interface.setPrefix(this.binPath); this._interface.setPrefix(this.binPath);
} }
@ -133,7 +133,7 @@ exports.createEmulator = function(binPath) {
return new EmulatorObject(binPath); return new EmulatorObject(binPath);
}; };
exports.VERSIONINFO = "Android Debug Bridge Interface (adb.js) version 0.2.2"; exports.VERSIONINFO = "Android Debug Bridge Interface (adb.js) version 0.2.3";
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;