@@ -55,6 +55,10 @@ namespace shadowsocks_csharp | |||||
string pac = Resources.proxy_pac; | string pac = Resources.proxy_pac; | ||||
string proxy = "PROXY 127.0.0.1:8123; DIRECT;"; | |||||
pac = pac.Replace("__PROXY__", proxy); | |||||
if (bytesRead > 0) | if (bytesRead > 0) | ||||
{ | { | ||||
string text = String.Format(@"HTTP/1.1 200 OK | string text = String.Format(@"HTTP/1.1 200 OK | ||||
@@ -2477,7 +2477,7 @@ var domains = { | |||||
"1-apple.com.tw": 1 | "1-apple.com.tw": 1 | ||||
}; | }; | ||||
var proxy = "PROXY 127.0.0.1:8123; DIRECT;"; | |||||
var proxy = "__PROXY__"; | |||||
var direct = 'DIRECT;'; | var direct = 'DIRECT;'; | ||||
@@ -128,7 +128,6 @@ | |||||
<Compile Include="simple-json\src\SimpleJson\SimpleJson.cs" /> | <Compile Include="simple-json\src\SimpleJson\SimpleJson.cs" /> | ||||
</ItemGroup> | </ItemGroup> | ||||
<ItemGroup> | <ItemGroup> | ||||
<None Include="polipo.exe" /> | |||||
<None Include="config.txt" /> | <None Include="config.txt" /> | ||||
<Content Include="icon144.ico" /> | <Content Include="icon144.ico" /> | ||||
<None Include="proxy.pac.txt" /> | <None Include="proxy.pac.txt" /> | ||||