public MainWindow(ManiaVersionSelectorViewModel viewModel)
        {
            InitializeComponent();

            this.ViewModel   = viewModel;
            this.DataContext = viewModel;
            FocusManager.SetFocusedElement(this, this.VersionList);
        }
        private void Launch()
        {
            this.Close();
            ManiaVersionSelectorViewModel viewModel = ((ManiaVersionSelectorViewModel)this.DataContext);
            VersionEntry selectedVersion            = viewModel.SelectedVersion;
            string       path = viewModel.FilePath;

            if (File.Exists(selectedVersion.Path))
            {
                Process.Start(selectedVersion.Path, $"\"{path}\"");
            }
            else
            {
                MessageBox.Show("Could not find executable at " + selectedVersion.Path);
            }
        }