Linux版,升级加解密工具,增加雪花Id和JWT令牌
大石头
authored at
2021-03-17 23:50:56
XCoder
using System;
using Gtk;
using NewLife;
using NewLife.Log;
namespace XCoder
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
XTrace.UseConsole();
MachineInfo.RegisterAsync();
GLib.ExceptionManager.UnhandledException += ExceptionManager_UnhandledException;
// 检查环境
GtkHelper.CheckRuntime();
Application.Init();
var window = new SharpApp();
window.ShowAll();
// Window.InteractiveDebugging = true;
//XTrace2.UseWinForm(window);
Application.Run();
}
private static void ExceptionManager_UnhandledException(GLib.UnhandledExceptionArgs args)
{
if (args.ExceptionObject is Exception ex) XTrace.WriteException(ex);
}
}
}
|