aboutsummaryrefslogtreecommitdiff
path: root/tools/Crupest.V2ray/Crupest.V2ray/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Crupest.V2ray/Crupest.V2ray/Program.cs')
-rw-r--r--tools/Crupest.V2ray/Crupest.V2ray/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Crupest.V2ray/Crupest.V2ray/Program.cs b/tools/Crupest.V2ray/Crupest.V2ray/Program.cs
index 793f6e7..e0c0d6d 100644
--- a/tools/Crupest.V2ray/Crupest.V2ray/Program.cs
+++ b/tools/Crupest.V2ray/Crupest.V2ray/Program.cs
@@ -1,4 +1,3 @@
-using System.Diagnostics;
using System.Reflection;
namespace Crupest.V2ray;
@@ -8,6 +7,7 @@ public static class Program
public const string ConfigTemplateFileName = "config.json.template";
public const string VmessConfigFileName = "vmess.txt";
public const string ProxyConfigFileName = "proxy.txt";
+ public const string HostsConfigFileName = "hosts.txt";
public const string ConfigOutputFileName = "config.json";
public static string ExeDir { get; } = Path.GetFullPath(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) ?? throw new Exception("Can't get the path of exe."));
@@ -28,6 +28,7 @@ public static class Program
geoDataDonwloader.Download(ExeDir);
return;
}
+ throw new Exception("Invalid command line arguments.");
}
var v2rayController = new V2rayController();