This commit is contained in:
2dust 2019-09-11 09:42:58 +08:00
parent 01fdb08dd3
commit a2cf1cef16
5 changed files with 40 additions and 16 deletions

View file

@ -506,8 +506,8 @@
// //
// toolSslSocksPortLab // toolSslSocksPortLab
// //
this.toolSslSocksPortLab.Name = "toolSslSocksPortLab";
resources.ApplyResources(this.toolSslSocksPortLab, "toolSslSocksPortLab"); resources.ApplyResources(this.toolSslSocksPortLab, "toolSslSocksPortLab");
this.toolSslSocksPortLab.Name = "toolSslSocksPortLab";
// //
// toolSslSocksPort // toolSslSocksPort
// //
@ -516,14 +516,14 @@
// //
// toolSslBlank1 // toolSslBlank1
// //
this.toolSslBlank1.Name = "toolSslBlank1";
resources.ApplyResources(this.toolSslBlank1, "toolSslBlank1"); resources.ApplyResources(this.toolSslBlank1, "toolSslBlank1");
this.toolSslBlank1.Name = "toolSslBlank1";
this.toolSslBlank1.Spring = true; this.toolSslBlank1.Spring = true;
// //
// toolSslHttpPortLab // toolSslHttpPortLab
// //
this.toolSslHttpPortLab.Name = "toolSslHttpPortLab";
resources.ApplyResources(this.toolSslHttpPortLab, "toolSslHttpPortLab"); resources.ApplyResources(this.toolSslHttpPortLab, "toolSslHttpPortLab");
this.toolSslHttpPortLab.Name = "toolSslHttpPortLab";
// //
// toolSslHttpPort // toolSslHttpPort
// //
@ -532,14 +532,14 @@
// //
// toolSslBlank2 // toolSslBlank2
// //
this.toolSslBlank2.Name = "toolSslBlank2";
resources.ApplyResources(this.toolSslBlank2, "toolSslBlank2"); resources.ApplyResources(this.toolSslBlank2, "toolSslBlank2");
this.toolSslBlank2.Name = "toolSslBlank2";
this.toolSslBlank2.Spring = true; this.toolSslBlank2.Spring = true;
// //
// toolSslPacPortLab // toolSslPacPortLab
// //
this.toolSslPacPortLab.Name = "toolSslPacPortLab";
resources.ApplyResources(this.toolSslPacPortLab, "toolSslPacPortLab"); resources.ApplyResources(this.toolSslPacPortLab, "toolSslPacPortLab");
this.toolSslPacPortLab.Name = "toolSslPacPortLab";
// //
// toolSslPacPort // toolSslPacPort
// //
@ -548,8 +548,8 @@
// //
// toolSslBlank3 // toolSslBlank3
// //
this.toolSslBlank3.Name = "toolSslBlank3";
resources.ApplyResources(this.toolSslBlank3, "toolSslBlank3"); resources.ApplyResources(this.toolSslBlank3, "toolSslBlank3");
this.toolSslBlank3.Name = "toolSslBlank3";
this.toolSslBlank3.Spring = true; this.toolSslBlank3.Spring = true;
// //
// toolSslServerSpeed // toolSslServerSpeed

View file

@ -563,8 +563,11 @@
<metadata name="ssMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ssMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>603, 17</value> <value>603, 17</value>
</metadata> </metadata>
<data name="toolSslSocksPortLab.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data>
<data name="toolSslSocksPortLab.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslSocksPortLab.Size" type="System.Drawing.Size, System.Drawing">
<value>55, 17</value> <value>49, 17</value>
</data> </data>
<data name="toolSslSocksPortLab.Text" xml:space="preserve"> <data name="toolSslSocksPortLab.Text" xml:space="preserve">
<value>SOCKS5</value> <value>SOCKS5</value>
@ -572,11 +575,17 @@
<data name="toolSslSocksPort.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslSocksPort.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 17</value> <value>0, 17</value>
</data> </data>
<data name="toolSslBlank1.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data>
<data name="toolSslBlank1.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslBlank1.Size" type="System.Drawing.Size, System.Drawing">
<value>202, 17</value> <value>188, 17</value>
</data>
<data name="toolSslHttpPortLab.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data> </data>
<data name="toolSslHttpPortLab.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslHttpPortLab.Size" type="System.Drawing.Size, System.Drawing">
<value>38, 17</value> <value>36, 17</value>
</data> </data>
<data name="toolSslHttpPortLab.Text" xml:space="preserve"> <data name="toolSslHttpPortLab.Text" xml:space="preserve">
<value>HTTP</value> <value>HTTP</value>
@ -584,11 +593,17 @@
<data name="toolSslHttpPort.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslHttpPort.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 17</value> <value>0, 17</value>
</data> </data>
<data name="toolSslBlank2.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data>
<data name="toolSslBlank2.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslBlank2.Size" type="System.Drawing.Size, System.Drawing">
<value>202, 17</value> <value>188, 17</value>
</data>
<data name="toolSslPacPortLab.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data> </data>
<data name="toolSslPacPortLab.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslPacPortLab.Size" type="System.Drawing.Size, System.Drawing">
<value>31, 17</value> <value>30, 17</value>
</data> </data>
<data name="toolSslPacPortLab.Text" xml:space="preserve"> <data name="toolSslPacPortLab.Text" xml:space="preserve">
<value>PAC</value> <value>PAC</value>
@ -596,21 +611,30 @@
<data name="toolSslPacPort.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslPacPort.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 17</value> <value>0, 17</value>
</data> </data>
<data name="toolSslBlank3.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data>
<data name="toolSslBlank3.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslBlank3.Size" type="System.Drawing.Size, System.Drawing">
<value>202, 17</value> <value>188, 17</value>
</data> </data>
<data name="toolSslServerSpeed.AutoSize" type="System.Boolean, mscorlib"> <data name="toolSslServerSpeed.AutoSize" type="System.Boolean, mscorlib">
<value>False</value> <value>False</value>
</data> </data>
<data name="toolSslServerSpeed.Font" type="System.Drawing.Font, System.Drawing">
<value>微软雅黑, 8pt</value>
</data>
<data name="toolSslServerSpeed.RightToLeft" type="System.Windows.Forms.RightToLeft, System.Windows.Forms"> <data name="toolSslServerSpeed.RightToLeft" type="System.Windows.Forms.RightToLeft, System.Windows.Forms">
<value>No</value> <value>No</value>
</data> </data>
<data name="toolSslServerSpeed.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslServerSpeed.Size" type="System.Drawing.Size, System.Drawing">
<value>200, 17</value> <value>220, 17</value>
</data> </data>
<data name="toolSslServerSpeed.Text" xml:space="preserve"> <data name="toolSslServerSpeed.Text" xml:space="preserve">
<value>SPEED Disabled</value> <value>SPEED Disabled</value>
</data> </data>
<data name="toolSslServerSpeed.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleRight</value>
</data>
<data name="toolSslBlank4.Size" type="System.Drawing.Size, System.Drawing"> <data name="toolSslBlank4.Size" type="System.Drawing.Size, System.Drawing">
<value>0, 17</value> <value>0, 17</value>
</data> </data>

View file

@ -12,7 +12,7 @@ namespace v2rayN.HttpProxyHandler
{ {
private static string GetTimestamp(DateTime value) private static string GetTimestamp(DateTime value)
{ {
return value.ToString("yyyyMMddHHmmssfff"); return value.ToString("MMddHHmmssfff");
} }
public static void ReSetPACProxy(Config config) public static void ReSetPACProxy(Config config)

View file

@ -33,4 +33,4 @@ using System.Runtime.InteropServices;
// 方法是按如下所示使用“*”: // 方法是按如下所示使用“*”:
//[assembly: AssemblyVersion("1.0.*")] //[assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyVersion("1.0.0")] //[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("2.38")] [assembly: AssemblyFileVersion("2.39")]

View file

@ -316,7 +316,7 @@ namespace v2rayN
double result; double result;
string unit; string unit;
ToHumanReadable(amount, out result, out unit); ToHumanReadable(amount, out result, out unit);
return $"{string.Format("{0:f2}", result)}{unit}"; return $"{string.Format("{0:f1}", result)}{unit}";
} }
public static void DedupServerList(List<Mode.VmessItem> source, out List<Mode.VmessItem> result) public static void DedupServerList(List<Mode.VmessItem> source, out List<Mode.VmessItem> result)