diff --git a/linker.route.win/dist/linker.route.win.exe b/linker.route.win/dist/linker.route.win.exe index 4ec19685..cf7a16b6 100644 Binary files a/linker.route.win/dist/linker.route.win.exe and b/linker.route.win/dist/linker.route.win.exe differ diff --git a/linker.route.win/main.aardio b/linker.route.win/main.aardio index 0cff8c90..8d010b47 100644 --- a/linker.route.win/main.aardio +++ b/linker.route.win/main.aardio @@ -243,6 +243,13 @@ mainForm.runCommand = function() } catch(e){} mainForm.checkService(); + if(mainForm.running) + { + mainForm.addRoute(); + }else + { + mainForm.delRoute(); + } } mainForm.btnRun.oncommand = function(id,event){ mainForm.runCommand(); @@ -263,7 +270,7 @@ mainForm.setInterval( { mainForm.ws.send(web.json.stringify({ Path: "tuntapclient/routeitems", - RequestId: 1, + RequestId: 0, Content:mainForm.hashCode+"" })); } diff --git a/version.txt b/version.txt index 47632dad..821f0d41 100644 --- a/version.txt +++ b/version.txt @@ -1,4 +1,4 @@ v1.2.4 -2024-08-23 14:21:56 +2024-08-23 14:30:12 1. 非网关支持网对网 2. 正在测试自动添加路由 \ No newline at end of file