mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 13:57:39 +00:00
Add Updater.exe that can update to latest release and debug
This commit is contained in:
parent
275ce48509
commit
2259e17b21
18 changed files with 623 additions and 59 deletions
|
|
@ -30,6 +30,7 @@ namespace PerformanceOverlay
|
|||
|
||||
SharedData_Update();
|
||||
Instance.Open(TitleWithVersion, true, "Global\\PerformanceOverlay");
|
||||
Instance.RunUpdater(TitleWithVersion);
|
||||
|
||||
if (Instance.WantsRunOnStartup)
|
||||
startupManager.Startup = true;
|
||||
|
|
@ -71,11 +72,11 @@ namespace PerformanceOverlay
|
|||
contextMenu.Items.Add(startupItem);
|
||||
}
|
||||
|
||||
var checkForUpdatesItem = contextMenu.Items.Add("&Check for Updates");
|
||||
checkForUpdatesItem.Click += delegate { Instance.RunUpdater(TitleWithVersion, true); };
|
||||
|
||||
var helpItem = contextMenu.Items.Add("&Help");
|
||||
helpItem.Click += delegate
|
||||
{
|
||||
System.Diagnostics.Process.Start("explorer.exe", "https://steam-deck-tools.ayufan.dev");
|
||||
};
|
||||
helpItem.Click += delegate { System.Diagnostics.Process.Start("explorer.exe", "https://steam-deck-tools.ayufan.dev"); };
|
||||
|
||||
contextMenu.Items.Add(new ToolStripSeparator());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue