mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-22 12:03:01 -04:00
23 lines
543 B
C#
23 lines
543 B
C#
using System;
|
|
using System.IO;
|
|
using ClassicalSharp;
|
|
|
|
namespace Launcher2 {
|
|
|
|
internal sealed class Program {
|
|
|
|
public const string AppName = "ClassicalSharp Launcher 0.98.5";
|
|
|
|
public static string AppDirectory;
|
|
|
|
[STAThread]
|
|
static void Main( string[] args ) {
|
|
AppDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
|
string logPath = Path.Combine( AppDirectory, "launcher.log" );
|
|
ErrorHandler.InstallHandler( logPath );
|
|
LauncherWindow window = new LauncherWindow();
|
|
window.Run();
|
|
}
|
|
}
|
|
}
|