Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4dfb0fa213 | ||
|
|
dcda8fc773 | ||
|
|
9c3fff8510 | ||
|
|
c3526ebfa3 | ||
|
|
28ba47a2f5 | ||
|
|
55a8b9085e | ||
|
|
2f250c5569 | ||
|
|
e9d0565e6a |
@@ -125,9 +125,9 @@
|
|||||||
<data name="scServers.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="scServers.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>3, 21</value>
|
<value>3, 21</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="cmsLv.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
<metadata name="cmsLv.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>226, 19</value>
|
<value>226, 19</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="menuAddVmessServer.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="menuAddVmessServer.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>423, 24</value>
|
<value>423, 24</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -368,10 +368,10 @@
|
|||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="lvServers.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="lvServers.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>0, 20</value>
|
<value>0, 24</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="lvServers.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="lvServers.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>1003, 338</value>
|
<value>1003, 334</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="lvServers.TabIndex" type="System.Int32, mscorlib">
|
<data name="lvServers.TabIndex" type="System.Int32, mscorlib">
|
||||||
@@ -396,7 +396,7 @@
|
|||||||
<value>0, 0</value>
|
<value>0, 0</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="tabGroup.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="tabGroup.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>1003, 20</value>
|
<value>1003, 24</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="tabGroup.TabIndex" type="System.Int32, mscorlib">
|
<data name="tabGroup.TabIndex" type="System.Int32, mscorlib">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
@@ -593,12 +593,12 @@
|
|||||||
<data name=">>scBig.ZOrder" xml:space="preserve">
|
<data name=">>scBig.ZOrder" xml:space="preserve">
|
||||||
<value>2</value>
|
<value>2</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="notifyMain.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
<metadata name="notifyMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="cmsMain.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
<metadata name="cmsMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>137, 17</value>
|
<value>137, 17</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="cmsMain.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
<data name="cmsMain.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
<value>NoControl</value>
|
<value>NoControl</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -713,9 +713,9 @@
|
|||||||
<data name=">>panel1.ZOrder" xml:space="preserve">
|
<data name=">>panel1.ZOrder" xml:space="preserve">
|
||||||
<value>3</value>
|
<value>3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="tsMain.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
<metadata name="tsMain.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>315, 17</value>
|
<value>315, 17</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="toolStripSeparator4.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="toolStripSeparator4.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>6, 59</value>
|
<value>6, 59</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -1001,12 +1001,12 @@
|
|||||||
<data name=">>tsMain.ZOrder" xml:space="preserve">
|
<data name=">>tsMain.ZOrder" xml:space="preserve">
|
||||||
<value>4</value>
|
<value>4</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="$this.Localizable" type="System.Boolean, mscorlib">
|
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="$this.TrayHeight" type="System.Int32, mscorlib">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>64</value>
|
<value>64</value>
|
||||||
</data>
|
</metadata>
|
||||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||||
<value>8, 15</value>
|
<value>8, 15</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ namespace v2rayN
|
|||||||
public const string hysteriaCoreUrl = "https://github.com/HyNetwork/hysteria/releases";
|
public const string hysteriaCoreUrl = "https://github.com/HyNetwork/hysteria/releases";
|
||||||
public const string naiveproxyCoreUrl = "https://github.com/klzgrad/naiveproxy/releases";
|
public const string naiveproxyCoreUrl = "https://github.com/klzgrad/naiveproxy/releases";
|
||||||
public const string tuicCoreUrl = "https://github.com/EAimTY/tuic/releases";
|
public const string tuicCoreUrl = "https://github.com/EAimTY/tuic/releases";
|
||||||
|
public const string singboxCoreUrl = "https://github.com/SagerNet/sing-box/releases";
|
||||||
public const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat";
|
public const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -181,6 +181,14 @@ namespace v2rayN.Handler
|
|||||||
arguments = "-c config.json",
|
arguments = "-c config.json",
|
||||||
coreUrl = Global.tuicCoreUrl
|
coreUrl = Global.tuicCoreUrl
|
||||||
});
|
});
|
||||||
|
|
||||||
|
coreInfos.Add(new CoreInfo
|
||||||
|
{
|
||||||
|
coreType = ECoreType.sing_box,
|
||||||
|
coreExes = new List<string> { "sing-box-client", "sing-box" },
|
||||||
|
arguments = "run",
|
||||||
|
coreUrl = Global.singboxCoreUrl
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,7 +127,8 @@ namespace v2rayN.Handler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Thread.Sleep(1000 * config_.statisticsFreshRate);
|
var sleep = config_.statisticsFreshRate < 1 ? 1 : config_.statisticsFreshRate;
|
||||||
|
Thread.Sleep(1000 * sleep);
|
||||||
channel_.ConnectAsync();
|
channel_.ConnectAsync();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ namespace v2rayN.Mode
|
|||||||
hysteria = 21,
|
hysteria = 21,
|
||||||
naiveproxy = 22,
|
naiveproxy = 22,
|
||||||
tuic = 23,
|
tuic = 23,
|
||||||
|
sing_box = 24,
|
||||||
v2rayN = 99
|
v2rayN = 99
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<UseWindowsForms>true</UseWindowsForms>
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
<Copyright>Copyright © 2019-2022 (GPLv3)</Copyright>
|
<Copyright>Copyright © 2019-2022 (GPLv3)</Copyright>
|
||||||
<FileVersion>5.35</FileVersion>
|
<FileVersion>5.36</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ApplicationIcon>v2rayN.ico</ApplicationIcon>
|
<ApplicationIcon>v2rayN.ico</ApplicationIcon>
|
||||||
|
|||||||
Reference in New Issue
Block a user