mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-08 13:44:30 +08:00
chore: 删除 main.js 中的无用监听
This commit is contained in:
1 parent
712bb1b1bf
commit
f0551d163f
3 files changed
+13
-316
No files matched your search
@@ -507,12 +507,9 @@ async function buildGame() {
|
||||
});
|
||||
|
||||
await Promise.all(
|
||||
resources.map(v => {
|
||||
return writeFile(
|
||||
resolve(tempDir, 'resource', v.fileName),
|
||||
v.buffer
|
||||
);
|
||||
})
|
||||
resources.map(v =>
|
||||
writeFile(resolve(tempDir, 'resource', v.fileName), v.buffer)
|
||||
)
|
||||
).catch(reason => {
|
||||
logProgress(5, ProgressStatus.Fail);
|
||||
process.stderr.write(String(reason));
|
||||
|
||||
Reference in new issue
Block a user