mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Upd: Change load complete message for auto updating
This commit is contained in:
parent
84917ab4e4
commit
fb96203bba
@ -165,7 +165,7 @@ alas.on('stderr', function (message: string) {
|
|||||||
* Or backend has started already
|
* Or backend has started already
|
||||||
* `[Errno 10048] error while attempting to bind on address ('0.0.0.0', 22267): `
|
* `[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');
|
alas.removeAllListeners('stderr');
|
||||||
loadURL()
|
loadURL()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user