using System;
using System.IO;
using System.Reflection;
using Gtk;

class Program
{
    [STAThread]
    static void Main(string[] args)
    {
        // Resolve every relative path (calibrate.glade, map/, cases.csv,
        // JacketData/) against the exe's folder, not the launch directory.
        Directory.SetCurrentDirectory(
            Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));

        Application.Init();

        var app = new CalibrationWindow();
        app.ShowAll();

        Application.Run();
    }
}