mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-14 17:46:01 +08:00
Opt: AP preserve until reset
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {alasPath, pythonPath} from '/@/config';
|
||||
import logger from '/@/logger';
|
||||
|
||||
const {PythonShell} = require('python-shell');
|
||||
const treeKill = require('tree-kill');
|
||||
|
||||
|
||||
export class PyShell extends PythonShell {
|
||||
constructor(script: string, args: Array<string> = []) {
|
||||
const options = {
|
||||
@@ -12,7 +12,6 @@ export class PyShell extends PythonShell {
|
||||
pythonPath: pythonPath,
|
||||
scriptPath: alasPath,
|
||||
};
|
||||
logger.info(`${pythonPath} ${script} ${args}`);
|
||||
super(script, options);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user