diff --git a/assets/ZN-Desktop-Link-Installer-v3.4.0.msi b/assets/ZN-Desktop-Link-Installer-v3.4.1.msi similarity index 90% rename from assets/ZN-Desktop-Link-Installer-v3.4.0.msi rename to assets/ZN-Desktop-Link-Installer-v3.4.1.msi index c2da75e..7d08bf8 100644 Binary files a/assets/ZN-Desktop-Link-Installer-v3.4.0.msi and b/assets/ZN-Desktop-Link-Installer-v3.4.1.msi differ diff --git a/index.html b/index.html index 862871a..32920f8 100755 --- a/index.html +++ b/index.html @@ -443,7 +443,7 @@

{{desktop_link}} - Download ZN-Desktop-Link + Download ZN-Desktop-Link
{{looking_for_overlay}}
- +
ZN-Desktop-Link
@@ -980,7 +980,7 @@

- + diff --git a/info/updates b/info/updates index a6b3a17..6c01118 100644 --- a/info/updates +++ b/info/updates @@ -1,4 +1,4 @@ { - "version":"3.4.0", - "path":"https://tybayn.github.io/phasmo-cheat-sheet/assets/ZN-Desktop-Link-Installer-v3.4.0.msi" + "version":"3.4.1", + "path":"https://tybayn.github.io/phasmo-cheat-sheet/assets/ZN-Desktop-Link-Installer-v3.4.1.msi" } \ No newline at end of file diff --git a/scripts-v8/wslink-v4.js b/scripts-v8/wslink-v5.js similarity index 99% rename from scripts-v8/wslink-v4.js rename to scripts-v8/wslink-v5.js index 8869927..fad2d21 100644 --- a/scripts-v8/wslink-v4.js +++ b/scripts-v8/wslink-v5.js @@ -696,6 +696,7 @@ function link_link(reconnect = false){ }, 30000) } if (incoming_state['action'].toUpperCase() == "UNLINK"){ + kill_gracefully = true disconnect_link() } if (incoming_state['action'].toUpperCase() == "DL_STEP"){ @@ -767,6 +768,7 @@ function link_link(reconnect = false){ } if (incoming_state.hasOwnProperty("disconnect") && incoming_state['disconnect']){ + kill_gracefully = true disconnect_link(false,true) } @@ -961,8 +963,13 @@ function send_reset_link(){ } function disconnect_link(reset=false,has_status=false){ - clearInterval(dlws_ping) clearInterval(relink_interval) + clearTimeout(relink_timeout) + reconnecting = false + kill_gracefully = false + relink_live = false + relink_interval = null + relink_timeout = null if(!reset){ if(hasDLLink){ dlws.send('{"action":"KILL"}')