mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Add global lock on startup to prevent race conditions
This commit is contained in:
parent
40be8eee70
commit
6211bc4f42
10 changed files with 109 additions and 58 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using CommonHelpers.FromLibreHardwareMonitor;
|
||||
using CommonHelpers;
|
||||
using CommonHelpers.FromLibreHardwareMonitor;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
|
@ -27,7 +28,10 @@ namespace FanControl
|
|||
InitializeComponent();
|
||||
|
||||
Text += " v" + Application.ProductVersion.ToString();
|
||||
Instance.Open(Text, "Global\\FanControlOnce");
|
||||
|
||||
notifyIcon.Text = Text;
|
||||
notifyIcon.Visible = true;
|
||||
|
||||
toolStripMenuItemAlwaysOnTop.Checked = TopMost = Properties.Settings.Default.AlwaysOnTop;
|
||||
toolStripMenuItemStartupOnBoot.Visible = startupManager.IsAvailable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue