From 6cc3ac4d4f4661c503ef5de5b354b44312679df1 Mon Sep 17 00:00:00 2001 From: Andreas Gajdosik Date: Thu, 12 Dec 2024 14:26:40 +0100 Subject: [PATCH] Order the ports the same way as they are in BlenderKit and on other places - starts with port 62485 which is default and has highest chances to have running Client --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 258c7a0..24555b2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,7 +9,7 @@ const bkclientjs = { export default bkclientjs; /** As defined in CLIENT_PORTS in https://github.com/BlenderKit/BlenderKit/blob/main/global_vars.py */ -let CLIENT_PORTS = ["65425", "55428", "49452", "35452", "25152", "5152", "1234", "62485"]; +let CLIENT_PORTS = ["62485", "65425", "55428", "49452", "35452", "25152", "5152", "1234"]; let pollingInterval: ReturnType | undefined; let connectedClients: ClientStatus[];