Newer
Older
EARS-LINUX / program / program.cs
using System;
using Gtk;

class Program
{
    [STAThread]
    static void Main(string[] args)
    {
        Application.Init();

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

        // Tell the kiosk the window is drawn, so the splash video can close
        GLib.Timeout.Add(300, () =>
        {
            try { System.IO.File.WriteAllText("/tmp/kiosk-ready", ""); } catch { }
            return false;
        });

        Application.Run();
    }
}