cmd tools
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Newtonsoft.Json;
|
||||
using Mono.Options;
|
||||
using Newtonsoft.Json;
|
||||
using Pilz.Configuration;
|
||||
using Telerik.WinControls;
|
||||
|
||||
@@ -17,6 +18,15 @@ public static class Program
|
||||
}
|
||||
|
||||
internal static void Main(string[] args)
|
||||
{
|
||||
var options = new Options(args);
|
||||
if (options.InstallWithoutUi)
|
||||
InstallWithoutGui(options.ProfileFolder, options.ModpackConfig);
|
||||
else
|
||||
RunApp();
|
||||
}
|
||||
|
||||
private static void RunApp()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
@@ -58,4 +68,9 @@ public static class Program
|
||||
// Delete legacy config file
|
||||
File.Delete(settingsPath);
|
||||
}
|
||||
|
||||
private static void InstallWithoutGui(string profileFolder, string modpackConfig)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user