1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-14 17:46:01 +08:00
This commit is contained in:
SevCrane
2024-06-05 23:53:03 +08:00
179 changed files with 17873 additions and 1 deletions

View File

@@ -1,9 +1,16 @@
import {alasPath, pythonPath} from '/@/config';
<<<<<<< HEAD
import logger from '/@/logger';
=======
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
const {PythonShell} = require('python-shell');
const treeKill = require('tree-kill');
<<<<<<< HEAD
=======
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
export class PyShell extends PythonShell {
constructor(script: string, args: Array<string> = []) {
const options = {
@@ -12,7 +19,10 @@ export class PyShell extends PythonShell {
pythonPath: pythonPath,
scriptPath: alasPath,
};
<<<<<<< HEAD
logger.info(`${pythonPath} ${script} ${args}`);
=======
>>>>>>> 24aa3e00bd9af9a6a050df54c6a0cef959a9c6c0
super(script, options);
}