mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +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
|
|
@ -19,6 +19,7 @@ namespace FanControl
|
|||
|
||||
Text += " v" + Application.ProductVersion.ToString();
|
||||
Instance.Open(Text, true, "Global\\FanControlOnce");
|
||||
Instance.RunUpdater(Text);
|
||||
|
||||
if (Instance.WantsRunOnStartup)
|
||||
startupManager.Startup = true;
|
||||
|
|
@ -147,6 +148,9 @@ namespace FanControl
|
|||
|
||||
private void fanLoopTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (fanControl is null)
|
||||
return;
|
||||
|
||||
SharedData_Update();
|
||||
fanControl.Update(Visible);
|
||||
}
|
||||
|
|
@ -184,5 +188,10 @@ namespace FanControl
|
|||
toolStripMenuItemAlwaysOnTopContext.Checked = TopMost;
|
||||
Settings.Default.AlwaysOnTop = toolStripMenuItemAlwaysOnTop.Checked;
|
||||
}
|
||||
|
||||
private void checkForUpdates_Click(object sender, EventArgs e)
|
||||
{
|
||||
Instance.RunUpdater(Text, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue