whqijy

Results 1 comments of whqijy

复制以下内容,保存为bat文件。然后把bat文件放入到geoip.dat/geosite.dat所在文件夹。创建快捷方式,把快捷方式放入到自启目录。 `@echo off if "%1" == "h" goto begin mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin REM` //使cmd窗口静默运行,避免每次开机运行时都会弹一个黑框,但是还是无法解决运行时会有一个黑框一闪而过。 `powershell (new-object Net.WebClient).DownloadFile('https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat','.\geoip.dat')` //自动下载geoip.dat,并放到bat文件当前目录 `powershell (new-object Net.WebClient).DownloadFile('https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat','.\geosite.dat')` //自动下载geosite.dat,并放到bat文件当前目录