diff options
| -rw-r--r-- | Erable/Program.cs | 5 | ||||
| -rw-r--r-- | Sirop.Backend/Version.cs | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/Erable/Program.cs b/Erable/Program.cs index f4a68e3..827f1bf 100644 --- a/Erable/Program.cs +++ b/Erable/Program.cs @@ -30,7 +30,8 @@ namespace Erable // yet and stuff might break.
public static void Main(string[] args)
{
- Console.WriteLine("Erable: Audio Player by Alee Productions");
+ Console.WriteLine("Erable {0}: Audio Player by Alee Productions", Sirop.Backend.Version.ErableVersion);
+ Console.WriteLine("Powered by Sirop Backend {0} ", Sirop.Backend.Version.SiropVersion);
AppDomain.CurrentDomain.UnhandledException += ErrorHandler;
@@ -46,6 +47,8 @@ namespace Erable static void ErrorHandler(object sender, UnhandledExceptionEventArgs e)
{
Console.WriteLine("Oh no! An error has occurred!");
+ Console.WriteLine("Erable Version: " + Sirop.Backend.Version.ErableVersion);
+ Console.WriteLine("Sirop Version: " + Sirop.Backend.Version.SiropVersion);
Console.WriteLine("OS Version: " + Environment.OSVersion);
Console.WriteLine(".NET Version: " + Environment.Version);
Console.WriteLine("Report this to the developers...");
diff --git a/Sirop.Backend/Version.cs b/Sirop.Backend/Version.cs new file mode 100644 index 0000000..15ed016 --- /dev/null +++ b/Sirop.Backend/Version.cs @@ -0,0 +1,8 @@ +namespace Erable +{ + public class Version + { + public string ErableVersion = "0.1"; + public string SiropVersion = "0.1"; + } +}
\ No newline at end of file |
