mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-06-08 16:27:58 +08:00
feat: 移动启动服务
This commit is contained in:
parent
fb83588df5
commit
f65502d875
@ -153,6 +153,14 @@ const compress = type === 'dist';
|
|||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 9. 启动服务
|
||||||
|
try {
|
||||||
|
await fs.copy('./script/template/启动服务.exe', './dist/启动服务.exe');
|
||||||
|
} catch (e) {
|
||||||
|
console.log('移动启动服务失败');
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
|
|
||||||
// 9. 压缩
|
// 9. 压缩
|
||||||
if (compress) {
|
if (compress) {
|
||||||
try {
|
try {
|
||||||
|
BIN
script/template/启动服务.exe
Normal file
BIN
script/template/启动服务.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user