Exemplo n.º 1
0
        private void PreInit()
        {
            var path    = new Setup.PathLogic();
            var binPath = path.GetInstallationPath();

            if (!binPath.Exists)
            {
                MessageBox.Show("Sorry the game wasn't found, exiting.."); Application.Exit();
            }
            Game = new SSF.Game(binPath.Parent.Parent);
        }