Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit d00b00c

Browse files
committed
修改 协议说明
1 parent eeacb8a commit d00b00c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __ / / / __ / _ \\_ __ __ \\ __ \\_ __ \\
3535
_ /_/ // /_/ // __/ / / / / / /_/ / / / /
3636
/_____/ \\__,_/ \\___//_/ /_/ /_/\\____//_/ /_/
3737
38-
+ Released under the GPL-3.0 License
38+
+ Released under the AGPL-3.0 License
3939
+ Copyright 2022 Suwings
4040
+ Version ${VERSION}
4141
`);
@@ -106,7 +106,7 @@ io.on("connection", (socket: Socket) => {
106106
});
107107

108108
// Error report monitoring
109-
process.on("uncaughtException", function(err) {
109+
process.on("uncaughtException", function (err) {
110110
logger.error(`错误报告 (uncaughtException):`, err);
111111
});
112112

@@ -127,8 +127,8 @@ console.log("");
127127
// 装载 终端界面UI
128128
import "./service/ui";
129129

130-
["SIGTERM", "SIGINT", "SIGQUIT"].forEach(function(sig) {
131-
process.on(sig, async function() {
130+
["SIGTERM", "SIGINT", "SIGQUIT"].forEach(function (sig) {
131+
process.on(sig, async function () {
132132
try {
133133
console.log("\n\n\n\n");
134134
logger.warn(`${sig} close process signal detected.`);

0 commit comments

Comments
 (0)