[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/unitycoder/UnityLauncher/master/UnityLauncher/Program.cs [Back]  [Original]

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace UnityLauncher
{
    static class Program
    {
        /// 
        /// The main entry point for the application.
        /// 
        [STAThread]
        static void Main()
        {
            /*
            // TODO allow only single instance https://stackoverflow.com/a/6486341/5452781
            bool result = false;
            var mutex = new System.Threading.Mutex(true, "UniqueAppId", out result);

            if (result == false)
            {
                // another instance already running, decide what to do
                MessageBox.Show("Another instance is already running.");
                return;
            }*/

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            //GC.KeepAlive(mutex);
        }
    }
}

Web Proxy Viewer  |  New URL  |  Original Page