private void FormMain_Shown(object sender, EventArgs e) { if (!IsAdministrator()) { ActionCenter.Toast("Not running as admin, global hotkeys will not work while in game", StartPoint(), 2); } Updater.LaunchUpdater(); }
private void BtnManualUpdateCheck_Click(object sender, EventArgs e) { Updater.CurrentVersion = CurrentConfig.LastCommitID; Updater.LaunchUpdater(); if (CurrentConfig.LastCommitID == Updater.GetLatestVersion()) { ActionCenter.Toast("No update available", StartPoint()); } }