From 7efdaa037bb57d28d22a8da5d92a742cfe4416fc Mon Sep 17 00:00:00 2001 From: DearDawalish <135088527+DearDawalish@users.noreply.github.com> Date: Sun, 25 Jun 2023 10:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E6=98=BE=E7=A4=BA=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=EF=BC=8C=E5=86=8D=E8=BF=9E=E6=8E=A5=E8=8A=82?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forms/main/xray.aardio | 2 +- lib/xray/outbounds.aardio | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/main/xray.aardio b/forms/main/xray.aardio index 404db80..ed0e2e8 100644 --- a/forms/main/xray.aardio +++ b/forms/main/xray.aardio @@ -1206,9 +1206,9 @@ frmXray.btnImportServerFromClipBd.oncommand = function(id,event){ ..table.append(config.proxy.outbounds,outbounds); // 防止首次粘贴时,下载core失败导致没有保存节点的情况,所以手动save一下 config.proxy.save(); + frmXray.msgOk("已成功导入" + #outbounds + "个服务器",1200); publish("uiCommand.restartxrayCore"); publish("outbounds.updateConfigJson"); - frmXray.msgOk("已成功导入" + #outbounds + "个服务器",1200); return; } } diff --git a/lib/xray/outbounds.aardio b/lib/xray/outbounds.aardio index 336c0c3..9963fe7 100644 --- a/lib/xray/outbounds.aardio +++ b/lib/xray/outbounds.aardio @@ -1109,9 +1109,9 @@ updateSubscription = function(outbondSubscribeUrlMap){ } ..config.proxy.save(); + ..mainForm.msgOk("已刷新" + count + "个订阅服务器。",1500); ..publish("outbounds.updateConfigJson"); ..publish("uiCommand.restartxrayCore",cfgOutbounds) - ..mainForm.msgOk("已刷新" + count + "个订阅服务器。",1500); return count; }