diff --git a/7z/7z.exe b/7z/7z.exe new file mode 100644 index 0000000..3a8ee47 Binary files /dev/null and b/7z/7z.exe differ diff --git a/7z/readme.md b/7z/readme.md new file mode 100644 index 0000000..892f500 --- /dev/null +++ b/7z/readme.md @@ -0,0 +1 @@ +这个7z.exe文件,只是为了生成Release.zip方便。可有可无。ProxySU并不调用。 \ No newline at end of file diff --git a/ProxySU/ProxySU.csproj b/ProxySU/ProxySU.csproj index d734b7a..6ca8e30 100644 --- a/ProxySU/ProxySU.csproj +++ b/ProxySU/ProxySU.csproj @@ -174,9 +174,15 @@ del "$(TargetDir)*.xml" del "$(TargetDir)*.pdb" del "$(TargetDir)*.zip" -rmdir /s/q "$(TargetDir)\naive_config" -rmdir /s/q "$(TargetDir)\trojan_config" -rmdir /s/q "$(TargetDir)\v2ray_config" -"D:\Program Files\7-Zip\7z.exe" a $(TargetDir)Release.zip $(TargetDir) -xr!*config +rmdir /s/q "$(TargetDir)naive_config" +rmdir /s/q "$(TargetDir)trojan_config" +rmdir /s/q "$(TargetDir)v2ray_config" +del /F /S /Q "$(TargetDir)TemplateConfg" +mkdir "$(TargetDir)TemplateConfg" +copy /Y "$(TargetDir)..\..\..\TemplateConfg\*.*" "$(TargetDir)TemplateConfg\" +"$(TargetDir)..\..\..\7z\7z.exe" a $(TargetDir)Release.zip $(TargetDir) -xr!*config +mkdir "$(TargetDir)..\lasteRelease" +del "$(TargetDir)..\lasteRelease\*.*" +copy /Y "$(TargetDir)Release.zip" "$(TargetDir)..\lasteRelease\Release.zip" \ No newline at end of file diff --git a/ProxySU/ProxySU.csproj.user b/ProxySU/ProxySU.csproj.user index 46cb8ab..2c7a9c0 100644 --- a/ProxySU/ProxySU.csproj.user +++ b/ProxySU/ProxySU.csproj.user @@ -1,7 +1,7 @@  - + publish\ diff --git a/ProxySU/bin/Release/Newtonsoft.Json.dll b/ProxySU/bin/Release/Newtonsoft.Json.dll deleted file mode 100644 index c2b16bb..0000000 Binary files a/ProxySU/bin/Release/Newtonsoft.Json.dll and /dev/null differ diff --git a/ProxySU/bin/Release/ProxySU.exe b/ProxySU/bin/Release/ProxySU.exe deleted file mode 100644 index b0e9810..0000000 Binary files a/ProxySU/bin/Release/ProxySU.exe and /dev/null differ diff --git a/ProxySU/bin/Release/QRCoder.dll b/ProxySU/bin/Release/QRCoder.dll deleted file mode 100644 index ffe773e..0000000 Binary files a/ProxySU/bin/Release/QRCoder.dll and /dev/null differ diff --git a/ProxySU/bin/Release/Release.zip b/ProxySU/bin/Release/Release.zip deleted file mode 100644 index 69b0781..0000000 Binary files a/ProxySU/bin/Release/Release.zip and /dev/null differ diff --git a/ProxySU/bin/Release/Renci.SshNet.dll b/ProxySU/bin/Release/Renci.SshNet.dll deleted file mode 100644 index 4e2d603..0000000 Binary files a/ProxySU/bin/Release/Renci.SshNet.dll and /dev/null differ diff --git a/ProxySU/bin/Release/TemplateConfg/http2Web_client_config.json b/TemplateConfg/Http2Web_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2Web_client_config.json rename to TemplateConfg/Http2Web_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/http2Web_server_config.caddyfile b/TemplateConfg/Http2Web_server_config.caddyfile similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2Web_server_config.caddyfile rename to TemplateConfg/Http2Web_server_config.caddyfile diff --git a/ProxySU/bin/Release/TemplateConfg/http2Web_server_config.json b/TemplateConfg/Http2Web_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2Web_server_config.json rename to TemplateConfg/Http2Web_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/http2selfSigned_client_config.json b/TemplateConfg/Http2selfSigned_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2selfSigned_client_config.json rename to TemplateConfg/Http2selfSigned_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/http2selfSigned_server_config.json b/TemplateConfg/Http2selfSigned_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2selfSigned_server_config.json rename to TemplateConfg/Http2selfSigned_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/Naiveproxy_client_config.json b/TemplateConfg/Naiveproxy_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/Naiveproxy_client_config.json rename to TemplateConfg/Naiveproxy_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/Naiveproxy_server_config.caddyfile b/TemplateConfg/Naiveproxy_server_config.caddyfile similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/Naiveproxy_server_config.caddyfile rename to TemplateConfg/Naiveproxy_server_config.caddyfile diff --git a/ProxySU/bin/Release/TemplateConfg/Naiveproxy_server_config.json b/TemplateConfg/Naiveproxy_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/Naiveproxy_server_config.json rename to TemplateConfg/Naiveproxy_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_client_config.json b/TemplateConfg/WebSocketTLSWeb_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_client_config.json rename to TemplateConfg/WebSocketTLSWeb_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_server_config.caddyfile b/TemplateConfg/WebSocketTLSWeb_server_config.caddyfile similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_server_config.caddyfile rename to TemplateConfg/WebSocketTLSWeb_server_config.caddyfile diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_server_config.json b/TemplateConfg/WebSocketTLSWeb_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocketTLSWeb_server_config.json rename to TemplateConfg/WebSocketTLSWeb_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocketTLS_selfSigned_client_config.json b/TemplateConfg/WebSocketTLS_selfSigned_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocketTLS_selfSigned_client_config.json rename to TemplateConfg/WebSocketTLS_selfSigned_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocketTLS_selfSigned_server_config.json b/TemplateConfg/WebSocketTLS_selfSigned_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocketTLS_selfSigned_server_config.json rename to TemplateConfg/WebSocketTLS_selfSigned_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocket_TLS_client_config.json b/TemplateConfg/WebSocket_TLS_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocket_TLS_client_config.json rename to TemplateConfg/WebSocket_TLS_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/WebSocket_TLS_server_config.json b/TemplateConfg/WebSocket_TLS_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/WebSocket_TLS_server_config.json rename to TemplateConfg/WebSocket_TLS_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/http2_client_config.json b/TemplateConfg/http2_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2_client_config.json rename to TemplateConfg/http2_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/http2_server_config.json b/TemplateConfg/http2_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/http2_server_config.json rename to TemplateConfg/http2_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/mkcp_client_config.json b/TemplateConfg/mkcp_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/mkcp_client_config.json rename to TemplateConfg/mkcp_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/mkcp_server_config.json b/TemplateConfg/mkcp_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/mkcp_server_config.json rename to TemplateConfg/mkcp_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/quic_client_config.json b/TemplateConfg/quic_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/quic_client_config.json rename to TemplateConfg/quic_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/quic_server_config.json b/TemplateConfg/quic_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/quic_server_config.json rename to TemplateConfg/quic_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcpTLSselfSigned_client_config.json b/TemplateConfg/tcpTLSselfSigned_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcpTLSselfSigned_client_config.json rename to TemplateConfg/tcpTLSselfSigned_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcpTLSselfSigned_server_config.json b/TemplateConfg/tcpTLSselfSigned_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcpTLSselfSigned_server_config.json rename to TemplateConfg/tcpTLSselfSigned_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_TLS_client_config.json b/TemplateConfg/tcp_TLS_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_TLS_client_config.json rename to TemplateConfg/tcp_TLS_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_TLS_server_config.json b/TemplateConfg/tcp_TLS_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_TLS_server_config.json rename to TemplateConfg/tcp_TLS_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_client_config.json b/TemplateConfg/tcp_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_client_config.json rename to TemplateConfg/tcp_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_http_client_config.json b/TemplateConfg/tcp_http_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_http_client_config.json rename to TemplateConfg/tcp_http_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_http_server_config.json b/TemplateConfg/tcp_http_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_http_server_config.json rename to TemplateConfg/tcp_http_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/tcp_server_config.json b/TemplateConfg/tcp_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/tcp_server_config.json rename to TemplateConfg/tcp_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/trojan_caddy_config.caddyfile b/TemplateConfg/trojan_caddy_config.caddyfile similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/trojan_caddy_config.caddyfile rename to TemplateConfg/trojan_caddy_config.caddyfile diff --git a/ProxySU/bin/Release/TemplateConfg/trojan_client_config.json b/TemplateConfg/trojan_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/trojan_client_config.json rename to TemplateConfg/trojan_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/trojan_server_config.json b/TemplateConfg/trojan_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/trojan_server_config.json rename to TemplateConfg/trojan_server_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/webSocket_client_config.json b/TemplateConfg/webSocket_client_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/webSocket_client_config.json rename to TemplateConfg/webSocket_client_config.json diff --git a/ProxySU/bin/Release/TemplateConfg/webSocket_server_config.json b/TemplateConfg/webSocket_server_config.json similarity index 100% rename from ProxySU/bin/Release/TemplateConfg/webSocket_server_config.json rename to TemplateConfg/webSocket_server_config.json