mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-04 02:09:18 +02:00
wip: add scrcpy module
This commit is contained in:
parent
20b914fe6f
commit
c02dea23e8
31 changed files with 2678 additions and 10 deletions
|
@ -42,7 +42,7 @@ function _getRushVersion() {
|
|||
console.log(`Using Rush version from environment variable ${RUSH_PREVIEW_VERSION}=${rushPreviewVersion}`);
|
||||
return rushPreviewVersion;
|
||||
}
|
||||
const rushJsonFolder = install_run_1.findRushJsonFolder();
|
||||
const rushJsonFolder = (0, install_run_1.findRushJsonFolder)();
|
||||
const rushJsonPath = path.join(rushJsonFolder, install_run_1.RUSH_JSON_FILENAME);
|
||||
try {
|
||||
const rushJsonContents = fs.readFileSync(rushJsonPath, 'utf-8');
|
||||
|
@ -76,10 +76,10 @@ function _run() {
|
|||
}
|
||||
process.exit(1);
|
||||
}
|
||||
install_run_1.runWithErrorAndStatusCode(() => {
|
||||
(0, install_run_1.runWithErrorAndStatusCode)(() => {
|
||||
const version = _getRushVersion();
|
||||
console.log(`The rush.json configuration requests Rush version ${version}`);
|
||||
return install_run_1.installAndRun(PACKAGE_NAME, version, bin, packageBinArgs);
|
||||
return (0, install_run_1.installAndRun)(PACKAGE_NAME, version, bin, packageBinArgs);
|
||||
});
|
||||
}
|
||||
_run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue