fix: 代码精简

This commit is contained in:
手瓜一十雪 committed 2024-11-14 12:02:24 +08:00
1 parent aee19abd10
commit c9bb8de442
8 files changed
+15 -25

No files matched your search

-4
View File
@@ -11,12 +11,8 @@ function genCpModule(module: string) {
}
let startScripts: string[] | undefined = undefined;
if (process.env.NAPCAT_BUILDSYS == 'linux') {
if (process.env.NAPCAT_BUILDARCH == 'x64') {
}
startScripts = [];
} else if (process.env.NAPCAT_BUILDSYS == 'win32') {
if (process.env.NAPCAT_BUILDARCH == 'x64') {
}
startScripts = ['./script/KillQQ.bat'];
} else {
startScripts = ['./script/KillQQ.bat'];