Skip to content

Commit 5d3b90c

Browse files
committed
new file: .gitattributes
1 parent 984b930 commit 5d3b90c

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are explicitly windows files and should use crlf
2+
*.bat text eol=crlf
3+
*.cmd text eol=crlf
4+
*.ps1 text eol=crlf

clash核心防火墙打开.bat

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@echo off
2-
%1 start "" mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c pushd ""%~dp0"" && ""%~s0"" ::","","runas",1)(window.close)&&exit
3-
echo "-------------------------------------------"
4-
echo "接下来将直接运行clash核心,请保持tun模式开启"
5-
echo "核心将请求windows防火墙,请点击允许"
6-
echo "允许后请自行关闭clash核心"
7-
echo "-------------------------------------------"
8-
.\clash.exe -d .\resources\ -f .\config.yaml
1+
@echo off
2+
%1 start "" mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c pushd ""%~dp0"" && ""%~s0"" ::","","runas",1)(window.close)&&exit
3+
echo "-------------------------------------------"
4+
echo "接下来将直接运行clash核心,请保持tun模式开启"
5+
echo "核心将请求windows防火墙,请点击允许"
6+
echo "允许后请自行关闭clash核心"
7+
echo "-------------------------------------------"
8+
.\clash.exe -d .\resources\ -f .\config.yaml

0 commit comments

Comments
 (0)