From c61d54a5a7828ee39e95a206069687363c62d3ae Mon Sep 17 00:00:00 2001 From: juewuy Date: Fri, 18 Jun 2021 13:18:19 +0800 Subject: [PATCH] =?UTF-8?q?v1.4.0=20~=E4=BF=AE=E5=A4=8D=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=B1=E8=B4=A5=E6=97=B6=E4=B8=8D=E4=BC=9A?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/hfs/hfs.ini | 161 ----------------------------------------------- scripts/start.sh | 8 +-- 2 files changed, 4 insertions(+), 165 deletions(-) delete mode 100644 bin/hfs/hfs.ini diff --git a/bin/hfs/hfs.ini b/bin/hfs/hfs.ini deleted file mode 100644 index c4e6218..0000000 --- a/bin/hfs/hfs.ini +++ /dev/null @@ -1,161 +0,0 @@ -HFS 2.3 beta - Build #271 -active=yes -only-1-instance=yes -window=274,196,993,672 -window-max=no -easy=yes -port=8080 -files-box-ratio=0 -log-max-lines=2000 -log-read-only=yes -log-file-name= -log-font-name= -log-font-size=0 -log-date=no -log-time=yes -log-only-served=yes -log-server-start=no -log-server-stop=no -log-connections=no -log-disconnections=no -log-bytes-sent=no -log-bytes-received=no -log-replies=no -log-requests=yes -log-uploads=yes -log-deletions=yes -log-full-downloads=yes -log-dump-request=no -log-browsing=yes -log-icons=no -log-progress=no -log-banned=no -log-others=yes -log-file-tabbed=no -log-apache-format= -tpl-file= -tpl-editor=C:\WINDOWS\NOTEPAD.EXE -delete-dont-ask=no -free-login=no -confirm-exit=yes -keep-bak-updating=yes -include-pwd-in-pages=no -ip=192.168.123.90 -custom-ip= -listen-on= -external-ip-server= -dynamic-dns-updater= -dynamic-dns-user= -dynamic-dns-host= -search-better-ip=no -start-minimized=no -connections-height=102 -files-stay-flagged-for-minutes=6000 -auto-save-vfs=no -folders-before=yes -links-before=yes -use-comment-as-realm=yes -getright-template=yes -auto-save-options=yes -dont-include-port-in-url=no -persistent-connections=yes -modal-options=yes -beep-on-flash=no -prevent-leeching=yes -delete-partial-uploads=no -rename-partial-uploads= -enable-macros=yes -use-system-icons=yes -minimize-to-tray=yes -tray-icon-for-each-download=yes -show-main-tray-icon=yes -always-on-top=no -quit-dont-ask=no -support-descript.ion=yes -oem-descript.ion=no -enable-fingerprints=yes -save-fingerprints=no -auto-fingerprint=0 -encode-pwd-url=yes -stop-spiders=yes -backup-saving=no -recursive-listing=yes -send-hfs-identifier=yes -list-hidden-files=no -list-system-files=no -list-protected-items=no -enable-no-default=yes -browse-localhost=yes -add-folder-default= -default-sorting= -last-dialog-folder=F:\Github\ShellClash -auto-save-vfs-every=0 -last-update-check=44354.7419466551 -allowed-referer= -forwarded-mask=127.0.0.1 -tray-shows=connections -tray-message=本机IP:%ip%\n在线时长:%uptime%\n下载数量:%downloads% -speed-limit=-1 -speed-limit-ip=-1 -max-ips=0 -max-ips-downloading=0 -max-connections=0 -max-connections-by-ip=0 -max-contemporary-dls=0 -max-contemporary-dls-ip=0 -login-realm=请输入用户名及密码: -open-in-browser=*.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg -flash-on=download -graph-rate=10 -graph-size=30 -graph-visible=no -no-download-timeout=0 -connections-timeout=60 -no-reply-ban=yes -ban-list= -add-to-folder= -last-file-open=~temp.vfs -reload-on-startup=yes -https-url=no -find-external-on-startup=yes -encode-non-ascii=yes -encode-spaces=yes -mime-types=*.js|text/javascript|*.htm;*.html|text/html|*.jpg;*.jpeg;*.jpe|image/jpeg|*.gif|image/gif|*.png|image/png|*.bmp|image/bmp|*.ico|image/x-icon|*.mpeg;*.mpg;*.mpe|video/mpeg|*.avi|video/x-msvideo|*.txt|text/plain|*.css|text/css -in-browser-if-mime=yes -icon-masks= -icon-masks-user-images= -address2name= -recent-files=~temp.vfs -trusted-files=~temp.vfs -leave-disconnected-connections=no -accounts=|login:Y2FuIGNoYW5nZSBwYXNzd29yZDo=|enabled:yes|group:yes|no-limits:no|notes:tMvTw7un1+m1xNPDu6e/ydTav827p7bL19TQ0NDeuMTD3MLroaPI57n7z+vUytDt08O7p7j8uMTD3MLro6zH69Ta08O7p9XLu6fRodTx08O7p9fp1tDRodTxY2FuIGNoYW5nZSBwYXNzd29yZA==; -account-notes-wrap=yes -tray-instead-of-quit=yes -compressed-browsing=yes -use-iso-date-format=no -hints4newcomers=yes -save-totals=yes -log-toolbar-expanded=yes -number-files-on-upload=yes -do-not-log-address= -last-external-address= -min-disk-space=0 -out-total=5283738 -in-total=22201 -hits-total=59 -downloads-total=16 -upload-total=0 -many-items-warning=no -load-single-comment-files=yes -copy-url-on-start=yes -connections-columns=IP地址;120|文件;180|状态;180|速度;60|剩余时间;55|进度;117| -auto-comment=no -update-daily=no -delayed-update=no -tester-updates=yes -copy-url-on-addition=yes -ip-services=http://www.rejetto.com/ip/|;http://checkip.dyndns.org|:;http://www.canyouseeme.org|value=";http://www.whatsmyrealip.com/|IP is
-ip-services-time=44363.8012241319 -update-automatically=no -prevent-standby=no -ips-ever-connected=127.0.0.1;192.168.123.90;192.168.3.7 diff --git a/scripts/start.sh b/scripts/start.sh index e09f849..8605d62 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -152,7 +152,7 @@ EOF` yaml=$clashdir/config.yaml yamlnew=/tmp/clash_config_$USER.yaml rm -rf $yamlnew - webget $yamlnew $Https 0 0 0 1 + $0 webget $yamlnew $Https 0 0 0 1 if [ "$result" != "200" ];then if [ -z "$markhttp" ];then echo ----------------------------------------------- @@ -313,7 +313,7 @@ cn_ip_route(){ mv $clashdir/cn_ip.txt $bindir/cn_ip.txt else logger "鏈壘鍒癱n_ip鍒楄〃锛屾鍦ㄤ笅杞斤紒" 33 - webget $bindir/cn_ip.txt "$update_url/bin/china_ip_list.txt" + $0 webget $bindir/cn_ip.txt "$update_url/bin/china_ip_list.txt" [ "$result" != 200 ] && rm -rf $bindir/cn_ip.txt && logger "鍒楄〃涓嬭浇澶辫触锛屽凡閫鍑猴紒" 31 && exit 1 fi fi @@ -620,7 +620,7 @@ bfstart(){ fi [ -z "$cpucore" ] && source $clashdir/getdate.sh && getcpucore [ -z "$cpucore" ] && logger 鎵句笉鍒拌澶囩殑CPU淇℃伅锛岃鎵嬪姩鎸囧畾澶勭悊鍣ㄦ灦鏋勭被鍨嬶紒 31 && setcpucore - webget $bindir/clash "$update_url/bin/$clashcore/clash-linux-$cpucore" + $0 webget $bindir/clash "$update_url/bin/$clashcore/clash-linux-$cpucore" [ "$result" != 200 ] && rm -rf $bindir/clash && logger "鏍稿績涓嬭浇澶辫触锛屽凡閫鍑猴紒" 31 && exit 1 [ ! -x $bindir/clash ] && chmod +x $bindir/clash #妫娴嬪彲鎵ц鏉冮檺 clashv=$($bindir/clash -v | awk '{print $2}') @@ -634,7 +634,7 @@ bfstart(){ else logger "鏈壘鍒癎eoIP鏁版嵁搴擄紝姝e湪涓嬭浇锛" 33 [ -z "$geotype" ] && geotype=cn_mini.mmdb - webget $bindir/Country.mmdb $update_url/bin/$geotype + $0 webget $bindir/Country.mmdb $update_url/bin/$geotype [ "$result" != 200 ] && rm -rf $bindir/Country.mmdb && logger "鏁版嵁搴撲笅杞藉け璐ワ紝宸查鍑猴紒" 31 && exit 1 Geo_v=$(date +"%Y%m%d") setconfig Geo_v $Geo_v