diff --git a/Novetus/NovetusCMD/Classes/CommandLineArguments.cs b/Novetus/NovetusCMD/Classes/CommandLineArguments.cs
index b925a0a..9c54460 100644
--- a/Novetus/NovetusCMD/Classes/CommandLineArguments.cs
+++ b/Novetus/NovetusCMD/Classes/CommandLineArguments.cs
@@ -1,11 +1,15 @@
-using System.Collections.Specialized;
+#region Usings
+using System.Collections.Specialized;
using System.Text.RegularExpressions;
+#endregion
namespace NovetusCMD
{
+ #region CommandLineArguments
public class CommandLineArguments
{
- //credit to GriffonRL on codeproject
+ //https://www.codeproject.com/Articles/3111/C-NET-Command-Line-Arguments-Parser
+ #region Arguments
///
/// Arguments class
///
@@ -102,6 +106,7 @@ namespace NovetusCMD
Parameters.Add(Parameter, "true");
}
}
+ #endregion
// Retrieve a parameter value if it exists
// (overriding C# indexer property)
@@ -114,4 +119,5 @@ namespace NovetusCMD
}
}
}
+ #endregion
}
diff --git a/Novetus/NovetusCMD/Classes/LocalFuncs.cs b/Novetus/NovetusCMD/Classes/LocalFuncs.cs
new file mode 100644
index 0000000..d77397b
--- /dev/null
+++ b/Novetus/NovetusCMD/Classes/LocalFuncs.cs
@@ -0,0 +1,89 @@
+#region Usings
+using System;
+using System.IO;
+#endregion
+
+namespace NovetusCMD
+{
+ #region LocalFuncs
+ public class LocalFuncs
+ {
+ public static async void CreateTXT()
+ {
+ if (LocalVars.RequestToOutputInfo)
+ {
+ string IP = await SecurityFuncs.GetExternalIPAddressAsync();
+ string[] lines1 = {
+ SecurityFuncs.Base64Encode(IP),
+ SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
+ SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
+ };
+ string URI = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines1, true));
+ string[] lines2 = {
+ SecurityFuncs.Base64Encode("localhost"),
+ SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.RobloxPort.ToString()),
+ SecurityFuncs.Base64Encode(GlobalVars.UserConfiguration.SelectedClient)
+ };
+ string URI2 = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|", lines2, true));
+
+ string text = GlobalFuncs.MultiLine(
+ "Process ID: " + (LocalVars.ProcessID == 0 ? "N/A" : LocalVars.ProcessID.ToString()),
+ "Don't copy the Process ID when sharing the server.",
+ "--------------------",
+ "Server Info:",
+ "Client: " + GlobalVars.UserConfiguration.SelectedClient,
+ "IP: " + IP,
+ "Port: " + GlobalVars.UserConfiguration.RobloxPort.ToString(),
+ "Map: " + GlobalVars.UserConfiguration.Map,
+ "Players: " + GlobalVars.UserConfiguration.PlayerLimit,
+ "Version: Novetus " + GlobalVars.ProgramInformation.Version,
+ "Online URI Link:",
+ URI,
+ "Local URI Link:",
+ URI2,
+ GlobalVars.IsWebServerOn ? "Web Server URL:" : "",
+ GlobalVars.IsWebServerOn ? "http://" + IP + ":" + GlobalVars.WebServer.Port.ToString() : "",
+ GlobalVars.IsWebServerOn ? "Local Web Server URL:" : "",
+ GlobalVars.IsWebServerOn ? GlobalVars.LocalWebServerURI : ""
+ );
+
+ File.WriteAllText(GlobalPaths.BasePath + "\\" + LocalVars.ServerInfoFileName, GlobalFuncs.RemoveEmptyLines(text));
+ ConsolePrint("Server Information sent to file " + GlobalPaths.BasePath + "\\" + LocalVars.ServerInfoFileName, 4);
+ }
+ }
+
+ public static void ConsolePrint(string text, int type)
+ {
+ ConsoleText("[" + DateTime.Now.ToShortTimeString() + "] - ", ConsoleColor.White);
+
+ switch (type)
+ {
+ case 2:
+ ConsoleText(text, ConsoleColor.Red);
+ break;
+ case 3:
+ ConsoleText(text, ConsoleColor.Green);
+ break;
+ case 4:
+ ConsoleText(text, ConsoleColor.Cyan);
+ break;
+ case 5:
+ ConsoleText(text, ConsoleColor.Yellow);
+ break;
+ case 1:
+ default:
+ ConsoleText(text, ConsoleColor.White);
+ break;
+ }
+
+ ConsoleText(Environment.NewLine, ConsoleColor.White);
+ }
+
+ public static void ConsoleText(string text, ConsoleColor color)
+ {
+ Console.ForegroundColor = color;
+ Console.Write(text);
+ }
+ }
+ #endregion
+}
diff --git a/Novetus/NovetusCMD/Novetus.CMD.csproj b/Novetus/NovetusCMD/Novetus.CMD.csproj
index 9f1c55f..ac2109b 100644
--- a/Novetus/NovetusCMD/Novetus.CMD.csproj
+++ b/Novetus/NovetusCMD/Novetus.CMD.csproj
@@ -122,9 +122,10 @@
+
-
+
diff --git a/Novetus/NovetusCMD/NovetusCMD.cs b/Novetus/NovetusCMD/NovetusCMD.cs
new file mode 100644
index 0000000..1ea2387
--- /dev/null
+++ b/Novetus/NovetusCMD/NovetusCMD.cs
@@ -0,0 +1,412 @@
+#region Usings
+using System;
+using Mono.Nat;
+using System.Diagnostics;
+using System.IO;
+#endregion
+
+namespace NovetusCMD
+{
+ #region Novetus CMD Main Class
+ public static class NovetusCMD
+ {
+ #region UPnP
+ public static void InitUPnP()
+ {
+ if (GlobalVars.UserConfiguration.UPnP)
+ {
+ try
+ {
+ NetFuncs.InitUPnP(DeviceFound,DeviceLost);
+ LocalFuncs.ConsolePrint("UPnP: Service initialized", 3);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("UPnP: Unable to initialize NetFuncs. Reason - " + ex.Message, 2);
+ }
+ }
+ }
+
+ public static void StartUPnP(INatDevice device, Protocol protocol, int port)
+ {
+ if (GlobalVars.UserConfiguration.UPnP)
+ {
+ try
+ {
+ NetFuncs.StartUPnP(device,protocol,port);
+ LocalFuncs.ConsolePrint("UPnP: Port " + port + " opened on '" + device.GetExternalIP() + "' (" + protocol.ToString() + ")", 3);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("UPnP: Unable to open port mapping. Reason - " + ex.Message, 2);
+ }
+ }
+ }
+
+ public static void StopUPnP(INatDevice device, Protocol protocol, int port)
+ {
+ if (GlobalVars.UserConfiguration.UPnP)
+ {
+ try
+ {
+ NetFuncs.StopUPnP(device,protocol,port);
+ LocalFuncs.ConsolePrint("UPnP: Port " + port + " closed on '" + device.GetExternalIP() + "' (" + protocol.ToString() + ")", 3);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("UPnP: Unable to close port mapping. Reason - " + ex.Message, 2);
+ }
+ }
+ }
+
+ private static void DeviceFound(object sender, DeviceEventArgs args)
+ {
+ try
+ {
+ INatDevice device = args.Device;
+ LocalFuncs.ConsolePrint("UPnP: Device '" + device.GetExternalIP() + "' registered.", 3);
+ StartUPnP(device, Protocol.Udp, GlobalVars.UserConfiguration.RobloxPort);
+ StartUPnP(device, Protocol.Tcp, GlobalVars.UserConfiguration.RobloxPort);
+ StartUPnP(device, Protocol.Udp, GlobalVars.WebServerPort);
+ StartUPnP(device, Protocol.Tcp, GlobalVars.WebServerPort);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("UPnP: Unable to register device. Reason - " + ex.Message, 2);
+ }
+ }
+
+ private static void DeviceLost(object sender, DeviceEventArgs args)
+ {
+ try
+ {
+ INatDevice device = args.Device;
+ LocalFuncs.ConsolePrint("UPnP: Device '" + device.GetExternalIP() + "' disconnected.", 3);
+ StopUPnP(device, Protocol.Udp, GlobalVars.UserConfiguration.RobloxPort);
+ StopUPnP(device, Protocol.Tcp, GlobalVars.UserConfiguration.RobloxPort);
+ StopUPnP(device, Protocol.Udp, GlobalVars.WebServerPort);
+ StopUPnP(device, Protocol.Tcp, GlobalVars.WebServerPort);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("UPnP: Unable to disconnect device. Reason - " + ex.Message, 2);
+ }
+ }
+ #endregion
+
+ #region Web Server
+ static void StartWebServer()
+ {
+ if (SecurityFuncs.IsElevated)
+ {
+ try
+ {
+ GlobalVars.WebServer = new SimpleHTTPServer(GlobalPaths.ServerDir, GlobalVars.WebServerPort);
+ LocalFuncs.ConsolePrint("WebServer: Server is running on port: " + GlobalVars.WebServer.Port.ToString(), 3);
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("WebServer: Failed to launch WebServer. Some features may not function. (" + ex.Message + ")", 2);
+ }
+ }
+ else
+ {
+ LocalFuncs.ConsolePrint("WebServer: Failed to launch WebServer. Some features may not function. (Did not run as Administrator)", 2);
+ }
+ }
+
+ static void StopWebServer()
+ {
+ if (SecurityFuncs.IsElevated)
+ {
+ try
+ {
+ LocalFuncs.ConsolePrint("WebServer: Server has stopped on port: " + GlobalVars.WebServer.Port.ToString(), 2);
+ GlobalVars.WebServer.Stop();
+ }
+ catch (Exception ex)
+ {
+ LocalFuncs.ConsolePrint("WebServer: Failed to stop WebServer. Some features may not function. (" + ex.Message + ")", 2);
+ }
+ }
+ else
+ {
+ LocalFuncs.ConsolePrint("WebServer: Failed to stop WebServer. Some features may not function. (Did not run as Administrator)", 2);
+ }
+ }
+ #endregion
+
+ #region Loading/Saving files
+ static void WriteConfigValues()
+ {
+ GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, true);
+ LocalFuncs.ConsolePrint("Config Saved.", 3);
+ }
+
+ static void ReadConfigValues()
+ {
+ GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, false);
+ LocalFuncs.ConsolePrint("Config loaded.", 3);
+ ReadClientValues(GlobalVars.UserConfiguration.SelectedClient);
+ }
+
+ static void ReadClientValues(string ClientName)
+ {
+ string clientpath = GlobalPaths.ClientDir + @"\\" + ClientName + @"\\clientinfo.nov";
+
+ if (!File.Exists(clientpath))
+ {
+ LocalFuncs.ConsolePrint("ERROR - No clientinfo.nov detected with the client you chose. The client either cannot be loaded, or it is not available.", 2);
+ GlobalVars.UserConfiguration.SelectedClient = GlobalVars.ProgramInformation.DefaultClient;
+ ReadClientValues(ClientName);
+ }
+ else
+ {
+ GlobalFuncs.ReadClientValues(clientpath);
+ LocalFuncs.ConsolePrint("Client '" + GlobalVars.UserConfiguration.SelectedClient + "' successfully loaded.", 3);
+ }
+ }
+ #endregion
+
+ #region Main Program Function
+ public static void Main(string[] args)
+ {
+ GlobalFuncs.ReadInfoFile(GlobalPaths.ConfigDir + "\\" + GlobalPaths.InfoName, true);
+ Console.Title = "Novetus " + GlobalVars.ProgramInformation.Version + " CMD";
+
+ LocalFuncs.ConsolePrint("NovetusCMD version " + GlobalVars.ProgramInformation.Version + " loaded.", 1);
+ LocalFuncs.ConsolePrint("Novetus path: " + GlobalPaths.BasePath, 1);
+
+ if (args.Length == 0)
+ {
+ LocalFuncs.ConsolePrint("Help: Command Line Arguments", 3);
+ LocalFuncs.ConsolePrint("---------", 1);
+ LocalFuncs.ConsolePrint("General", 3);
+ LocalFuncs.ConsolePrint("-no3d | Launches server in NoGraphics mode", 4);
+ LocalFuncs.ConsolePrint("-script | Loads an additional server script.", 4);
+ LocalFuncs.ConsolePrint("-outputinfo | Outputs all information about the running server to a text file.", 4);
+ LocalFuncs.ConsolePrint("-overrideconfig | Override the launcher settings.", 4);
+ LocalFuncs.ConsolePrint("-debug | Disables launching of the server for debugging purposes.", 4);
+ LocalFuncs.ConsolePrint("-nowebserver | Disables launching of the web server.", 4);
+ LocalFuncs.ConsolePrint("---------", 1);
+ LocalFuncs.ConsolePrint("Custom server options", 3);
+ LocalFuncs.ConsolePrint("-overrideconfig must be added in order for the below commands to function.", 5);
+ LocalFuncs.ConsolePrint("-upnp | Turns on NetFuncs.", 4);
+ LocalFuncs.ConsolePrint("-map
@@ -227,37 +227,37 @@
CharacterCustomization.cs
-
+
LauncherFormCompact.cs
-
+
LauncherFormCompactSettings.cs
-
+
ClientinfoCreator.cs
-
+
ClientScriptDocumentation.cs
-
+
DiogenesEditor.cs
-
+
ItemMaker.cs
-
+
Obj2MeshV1GUI.cs
-
+
SplashTester.cs
-
+
LauncherFormExtended.cs
-
+
NovetusSDK.cs
-
+
AssetLocalizer.cs
diff --git a/Novetus/NovetusLauncher/Program.cs b/Novetus/NovetusLauncher/NovetusLauncher.cs
similarity index 66%
rename from Novetus/NovetusLauncher/Program.cs
rename to Novetus/NovetusLauncher/NovetusLauncher.cs
index c8da554..4ad77a9 100644
--- a/Novetus/NovetusLauncher/Program.cs
+++ b/Novetus/NovetusLauncher/NovetusLauncher.cs
@@ -1,21 +1,12 @@
-/*
- * Created by SharpDevelop.
- * User: BITL-Gaming
- * Date: 10/7/2016
- * Time: 3:01 PM
- *
- * To change this template use Tools | Options | Coding | Edit Standard Headers.
- */
+#region Usings
using System;
-using System.Linq;
using System.Windows.Forms;
+#endregion
namespace NovetusLauncher
{
- ///
- /// Class with program entry point.
- ///
- internal sealed class Program
+ #region Novetus Launcher Main Class
+ internal sealed class NovetusLauncher
{
static string ProcessInput(string s)
{
@@ -31,8 +22,8 @@ namespace NovetusLauncher
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- LauncherFuncs.ReadInfoFile(GlobalPaths.ConfigDir + "\\" + GlobalVars.InfoName);
- LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, false);
+ GlobalFuncs.ReadInfoFile(GlobalPaths.ConfigDir + "\\" + GlobalPaths.InfoName);
+ GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, false);
if (args.Length == 0)
{
switch (GlobalVars.UserConfiguration.LauncherStyle)
@@ -59,4 +50,5 @@ namespace NovetusLauncher
}
}
}
+ #endregion
}
diff --git a/Novetus/NovetusURI/InstallForm.Designer.cs b/Novetus/NovetusURI/Forms/InstallForm.Designer.cs
similarity index 100%
rename from Novetus/NovetusURI/InstallForm.Designer.cs
rename to Novetus/NovetusURI/Forms/InstallForm.Designer.cs
diff --git a/Novetus/NovetusURI/InstallForm.cs b/Novetus/NovetusURI/Forms/InstallForm.cs
similarity index 100%
rename from Novetus/NovetusURI/InstallForm.cs
rename to Novetus/NovetusURI/Forms/InstallForm.cs
diff --git a/Novetus/NovetusURI/InstallForm.resx b/Novetus/NovetusURI/Forms/InstallForm.resx
similarity index 100%
rename from Novetus/NovetusURI/InstallForm.resx
rename to Novetus/NovetusURI/Forms/InstallForm.resx
diff --git a/Novetus/NovetusURI/LoaderForm.Designer.cs b/Novetus/NovetusURI/Forms/LoaderForm.Designer.cs
similarity index 100%
rename from Novetus/NovetusURI/LoaderForm.Designer.cs
rename to Novetus/NovetusURI/Forms/LoaderForm.Designer.cs
diff --git a/Novetus/NovetusURI/LoaderForm.cs b/Novetus/NovetusURI/Forms/LoaderForm.cs
similarity index 89%
rename from Novetus/NovetusURI/LoaderForm.cs
rename to Novetus/NovetusURI/Forms/LoaderForm.cs
index 3dab717..fa90324 100644
--- a/Novetus/NovetusURI/LoaderForm.cs
+++ b/Novetus/NovetusURI/Forms/LoaderForm.cs
@@ -78,7 +78,7 @@ namespace NovetusURI
handlers.requestCallback += RequestCallback;
DiscordRPC.Initialize(GlobalVars.appid, ref handlers, true, "");
- LauncherFuncs.UpdateRichPresence(LauncherState.LoadingURI, "", true);
+ GlobalFuncs.UpdateRichPresence(GlobalVars.LauncherState.LoadingURI, "", true);
}
}
@@ -97,11 +97,11 @@ namespace NovetusURI
string luafile = "";
if (!GlobalVars.SelectedClientInfo.Fix2007)
{
- luafile = "rbxasset://scripts\\\\" + GlobalVars.ScriptName + ".lua";
+ luafile = "rbxasset://scripts\\\\" + GlobalPaths.ScriptName + ".lua";
}
else
{
- luafile = GlobalPaths.ClientDir + @"\\" + GlobalVars.UserConfiguration.SelectedClient + @"\\content\\scripts\\" + GlobalVars.ScriptGenName + ".lua";
+ luafile = GlobalPaths.ClientDir + @"\\" + GlobalVars.UserConfiguration.SelectedClient + @"\\content\\scripts\\" + GlobalPaths.ScriptGenName + ".lua";
}
string rbxexe = "";
if (GlobalVars.SelectedClientInfo.LegacyMode)
@@ -118,7 +118,7 @@ namespace NovetusURI
{
if (!GlobalVars.SelectedClientInfo.Fix2007)
{
- args = "-script " + quote + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptFuncs.Generator.GetScriptFuncForType(ScriptType.Client) + quote;
+ args = "-script " + quote + GlobalFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptFuncs.Generator.GetScriptFuncForType(ScriptType.Client) + quote;
}
else
{
@@ -132,9 +132,9 @@ namespace NovetusURI
}
try
{
- if (GlobalVars.AdminMode != true)
+ if (!GlobalVars.AdminMode)
{
- if (GlobalVars.SelectedClientInfo.AlreadyHasSecurity != true)
+ if (!GlobalVars.SelectedClientInfo.AlreadyHasSecurity)
{
if (SecurityFuncs.checkClientMD5(GlobalVars.UserConfiguration.SelectedClient))
{
@@ -178,13 +178,13 @@ namespace NovetusURI
clientproc.Start();
clientproc.PriorityClass = ProcessPriorityClass.RealTime;
SecurityFuncs.RenameWindow(clientproc, ScriptType.Client, "");
- LauncherFuncs.UpdateRichPresence(LauncherState.InMPGame, "");
+ GlobalFuncs.UpdateRichPresence(GlobalVars.LauncherState.InMPGame, "");
this.Visible = false;
}
void ClientExited(object sender, EventArgs e)
{
- LauncherFuncs.UpdateRichPresence(LauncherState.InLauncher, "");
+ GlobalFuncs.UpdateRichPresence(GlobalVars.LauncherState.InLauncher, "");
this.Close();
}
@@ -219,7 +219,7 @@ namespace NovetusURI
}
else
{
- LauncherFuncs.ReadClientValues(clientpath);
+ GlobalFuncs.ReadClientValues(clientpath);
}
}
}
diff --git a/Novetus/NovetusURI/LoaderForm.resx b/Novetus/NovetusURI/Forms/LoaderForm.resx
similarity index 100%
rename from Novetus/NovetusURI/LoaderForm.resx
rename to Novetus/NovetusURI/Forms/LoaderForm.resx
diff --git a/Novetus/NovetusURI/QuickConfigure.Designer.cs b/Novetus/NovetusURI/Forms/QuickConfigure.Designer.cs
similarity index 100%
rename from Novetus/NovetusURI/QuickConfigure.Designer.cs
rename to Novetus/NovetusURI/Forms/QuickConfigure.Designer.cs
diff --git a/Novetus/NovetusURI/QuickConfigure.cs b/Novetus/NovetusURI/Forms/QuickConfigure.cs
similarity index 89%
rename from Novetus/NovetusURI/QuickConfigure.cs
rename to Novetus/NovetusURI/Forms/QuickConfigure.cs
index c324914..8c0214b 100644
--- a/Novetus/NovetusURI/QuickConfigure.cs
+++ b/Novetus/NovetusURI/Forms/QuickConfigure.cs
@@ -33,7 +33,7 @@ namespace NovetusURI
void QuickConfigureLoad(object sender, EventArgs e)
{
- ReadConfigValues(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName);
+ ReadConfigValues(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName);
}
void Button3Click(object sender, EventArgs e)
@@ -43,7 +43,7 @@ namespace NovetusURI
void ReadConfigValues(string cfgpath)
{
- LauncherFuncs.Config(cfgpath, false);
+ GlobalFuncs.Config(cfgpath, false);
textBox2.Text = GlobalVars.UserConfiguration.UserID.ToString();
label3.Text = GlobalVars.UserConfiguration.PlayerTripcode.ToString();
textBox1.Text = GlobalVars.UserConfiguration.PlayerName;
@@ -51,7 +51,7 @@ namespace NovetusURI
void GeneratePlayerID()
{
- LauncherFuncs.GeneratePlayerID();
+ GlobalFuncs.GeneratePlayerID();
textBox2.Text = GlobalVars.UserConfiguration.UserID.ToString();
}
@@ -93,7 +93,7 @@ namespace NovetusURI
void QuickConfigureClose(object sender, CancelEventArgs e)
{
- LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, true);
+ GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, true);
LocalVars.ReadyToLaunch = true;
}
}
diff --git a/Novetus/NovetusURI/QuickConfigure.resx b/Novetus/NovetusURI/Forms/QuickConfigure.resx
similarity index 100%
rename from Novetus/NovetusURI/QuickConfigure.resx
rename to Novetus/NovetusURI/Forms/QuickConfigure.resx
diff --git a/Novetus/NovetusURI/Novetus.URI.csproj b/Novetus/NovetusURI/Novetus.URI.csproj
index 74524bf..500d1f8 100644
--- a/Novetus/NovetusURI/Novetus.URI.csproj
+++ b/Novetus/NovetusURI/Novetus.URI.csproj
@@ -86,28 +86,28 @@
-
+
Form
-
+
InstallForm.cs
-
+
-
+
Form
-
+
LoaderForm.cs
-
+
Form
-
+
QuickConfigure.cs
-
+
InstallForm.cs
@@ -120,10 +120,10 @@
Resources.resx
True
-
+
LoaderForm.cs
-
+
QuickConfigure.cs
@@ -150,9 +150,7 @@
-
-
-
+
SET path=$(SolutionDir)build
diff --git a/Novetus/NovetusURI/Program.cs b/Novetus/NovetusURI/NovetusURI.cs
similarity index 77%
rename from Novetus/NovetusURI/Program.cs
rename to Novetus/NovetusURI/NovetusURI.cs
index 0b9857f..a91d1ae 100644
--- a/Novetus/NovetusURI/Program.cs
+++ b/Novetus/NovetusURI/NovetusURI.cs
@@ -1,12 +1,12 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
+#region Usings
+using System;
using System.Windows.Forms;
+#endregion
namespace NovetusURI
{
- internal sealed class Program
+ #region Novetus URI Main Class
+ internal sealed class NovetusURI
{
static string ProcessInput(string s)
{
@@ -21,7 +21,7 @@ namespace NovetusURI
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, false);
+ GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, false);
if (args.Length == 0)
{
Application.Run(new InstallForm());
@@ -36,6 +36,6 @@ namespace NovetusURI
Application.Run(new LoaderForm());
}
}
-
}
+ #endregion
}