mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Upd: Change load complete message for auto updating
This commit is contained in:
@@ -165,7 +165,7 @@ alas.on('stderr', function (message: string) {
|
||||
* Or backend has started already
|
||||
* `[Errno 10048] error while attempting to bind on address ('0.0.0.0', 22267): `
|
||||
*/
|
||||
if (message.includes('running on') || message.includes('bind on address')) {
|
||||
if (message.includes('Application startup complete') || message.includes('bind on address')) {
|
||||
alas.removeAllListeners('stderr');
|
||||
loadURL()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user