Skip to content

Commit 0b995b3

Browse files
committed
0.46.107
1 parent 86bfbb0 commit 0b995b3

File tree

7 files changed

+170
-149
lines changed

7 files changed

+170
-149
lines changed

luci-app-openclash/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=luci-app-openclash
4-
PKG_VERSION:=0.46.106
4+
PKG_VERSION:=0.46.107
55
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
66

77
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

luci-app-openclash/luasrc/controller/openclash.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ function action_del_log()
13871387
end
13881388

13891389
function action_del_start_log()
1390-
luci.sys.exec(": > /tmp/openclash_start.log")
1390+
luci.sys.exec("echo "##FINISH##" > /tmp/openclash_start.log")
13911391
return
13921392
end
13931393

luci-app-openclash/luasrc/view/openclash/dlercloud.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
width: auto;
215215
height: 100%;
216216
position: relative;
217-
margin-left: 120px;
217+
margin-left: 180px;
218218
top: 0;
219219
right: 0;
220220
z-index: 1;
@@ -229,7 +229,7 @@
229229
font-size: 30px;
230230
text-align: center;
231231
padding-top: 10px;
232-
margin: 0 0 0 -10%;
232+
margin: 0 0 0 -15%;
233233
line-height: 35px;
234234
color: black;
235235
}

luci-app-openclash/luasrc/view/openclash/myip.htm

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -548,31 +548,31 @@
548548

549549
<div class="myip-ip-list">
550550
<div class="myip-ip-item">
551-
<span class="ip-title">UpaiYun:</span>
551+
<span class="ip-title">UpaiYun</span>
552552
<div class="myip-ip-result">
553553
<span class="ip-result" id="ip-upaiyun"></span>
554554
<span class="ip-geo" id="ip-upaiyun-geo"></span>
555555
</div>
556556
</div>
557557

558558
<div class="myip-ip-item">
559-
<span class="ip-title">IPIP.NET:</span>
559+
<span class="ip-title">IPIP.NET</span>
560560
<div class="myip-ip-result">
561561
<span class="ip-result" id="ip-ipip"></span>
562562
<span class="ip-geo" id="ip-ipip-geo"></span>
563563
</div>
564564
</div>
565565

566566
<div class="myip-ip-item">
567-
<span class="ip-title">IP.SB:</span>
567+
<span class="ip-title">IP.SB</span>
568568
<div class="myip-ip-result">
569569
<span class="ip-result" id="ip-ipsb"></span>
570570
<span class="ip-geo" id="ip-ipsb-geo"></span>
571571
</div>
572572
</div>
573573

574574
<div class="myip-ip-item">
575-
<span class="ip-title">IPIFY:</span>
575+
<span class="ip-title">IPIFY</span>
576576
<div class="myip-ip-result">
577577
<span class="ip-result" id="ip-ipify"></span>
578578
<span class="ip-geo" id="ip-ipify-geo"></span>
@@ -601,31 +601,31 @@
601601

602602
<div class="myip-check-list">
603603
<div class="myip-check-item">
604-
<span class="ip-state_title"><%:Baidu Search%>:</span>
604+
<span class="ip-state_title"><%:Baidu Search%></span>
605605
<div class="myip-status-result">
606606
<span id="http-baidu"></span>
607607
<span id="ldtime-baidu"></span>
608608
</div>
609609
</div>
610610

611611
<div class="myip-check-item">
612-
<span class="ip-state_title"><%:NetEase Music%>:</span>
612+
<span class="ip-state_title"><%:NetEase Music%></span>
613613
<div class="myip-status-result">
614614
<span id="http-163"></span>
615615
<span id="ldtime-163"></span>
616616
</div>
617617
</div>
618618

619619
<div class="myip-check-item">
620-
<span class="ip-state_title">GitHub:</span>
620+
<span class="ip-state_title">GitHub</span>
621621
<div class="myip-status-result">
622622
<span id="http-github"></span>
623623
<span id="ldtime-github"></span>
624624
</div>
625625
</div>
626626

627627
<div class="myip-check-item">
628-
<span class="ip-state_title">YouTube:</span>
628+
<span class="ip-state_title">YouTube</span>
629629
<div class="myip-status-result">
630630
<span id="http-youtube"></span>
631631
<span id="ldtime-youtube"></span>

luci-app-openclash/luasrc/view/openclash/select_git_cdn.htm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -847,22 +847,20 @@
847847
if (type === 'core_download') {
848848
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "save_corever_branch")%>', {core_ver: v, release_branch: r, smart_enable: s}, function(x, status) {
849849
if (x && x.status == 200) {
850-
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "core_download")%>', {url: target.dataset.value}, function(x, status) {});
850+
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "core_download")%>', {url: target.dataset.value}, function(x, status) {
851+
});
851852
}
852853
});
853854
}
854855
else {
855856
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "save_corever_branch")%>', {core_ver: v, release_branch: r, smart_enable: s}, function(x, status) {
856857
if (x && x.status == 200) {
857-
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "one_key_update")%>', {url: target.dataset.value}, function(x, status) {});
858+
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "openclash", "one_key_update")%>', {url: target.dataset.value}, function(x, status) {
859+
});
858860
}
859861
});
860862
}
861863

862-
if (LogManager) {
863-
LogManager.stopLogDisplay();
864-
}
865-
866864
selectPopup.classList.add('hidden');
867865
if (typeof refresh_httpdelay !== 'undefined') {
868866
clearInterval(refresh_httpdelay);

0 commit comments

Comments
 (0)