fix:roboot file
This commit is contained in:
1 parent
48a100f49a
commit
3e27d5fcb0
2 files changed
+4
-5
No files matched your search
@@ -1,10 +1,9 @@
|
|||||||
import { exit } from "process";
|
import { exit } from "process";
|
||||||
import { resolve } from "path";
|
import { resolve } from "path";
|
||||||
async function reboot() {
|
async function reboot() {
|
||||||
|
let batScript = resolve(__dirname, './napcat.bat');
|
||||||
let batScript = resolve(__dirname, '../napcat.bat');
|
let batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
||||||
let batUtf8Script = resolve(__dirname, '../napcat-utf8.bat');
|
let bashScript = resolve(__dirname, './napcat.sh');
|
||||||
let bashScript = resolve(__dirname, '../napcat.sh');
|
|
||||||
//如果是win系统写出 5s延迟启动 默认batUtf8Script启动
|
//如果是win系统写出 5s延迟启动 默认batUtf8Script启动
|
||||||
// 如果是linux系统写出 5s延迟启动 默认bashScript启动
|
// 如果是linux系统写出 5s延迟启动 默认bashScript启动
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
|
|||||||
+1
-1
Submodule src/core updated: 519d686d71...fd740c85ac.
Reference in new issue
Block a user