diff --git a/app/Extra.cs b/app/Extra.cs index bdfb3e45..01f08220 100644 --- a/app/Extra.cs +++ b/app/Extra.cs @@ -177,7 +177,7 @@ namespace GHelper checkUSBC.Checked = (Program.config.getConfig("optimized_usbc") == 1); checkUSBC.CheckedChanged += CheckUSBC_CheckedChanged; - checkAutoApplyWindowsPowerMode.Checked = Program.config.getConfig("auto_apply_power_plan") == 1; + checkAutoApplyWindowsPowerMode.Checked = (Program.config.getConfig("auto_apply_power_plan") != 0); checkAutoApplyWindowsPowerMode.CheckedChanged += checkAutoApplyWindowsPowerMode_CheckedChanged; int kb_brightness = Program.config.getConfig("keyboard_brightness"); diff --git a/app/Fans.cs b/app/Fans.cs index b6cf81e7..2d4d15e9 100644 --- a/app/Fans.cs +++ b/app/Fans.cs @@ -266,6 +266,8 @@ namespace GHelper private void Fans_Shown(object? sender, EventArgs e) { + panelSliders.Visible = panelGPU.Visible || panelPower.Visible; + if (Height > Program.settingsForm.Height) { Top = Program.settingsForm.Top + Program.settingsForm.Height - Height; @@ -277,8 +279,8 @@ namespace GHelper Top = Program.settingsForm.Top; } - Left = Program.settingsForm.Left - Width - 5; + } diff --git a/app/Properties/Strings.Designer.cs b/app/Properties/Strings.Designer.cs index bd136139..53c738f6 100644 --- a/app/Properties/Strings.Designer.cs +++ b/app/Properties/Strings.Designer.cs @@ -169,7 +169,7 @@ namespace GHelper.Properties { } /// - /// Looks up a localized string similar to Auto Adjust Windows Power Plan. + /// Looks up a localized string similar to Auto adjust Windows Power Mode. /// internal static string ApplyWindowsPowerPlan { get { @@ -178,7 +178,7 @@ namespace GHelper.Properties { } /// - /// Looks up a localized string similar to Breathe. + /// Looks up a localized string similar to Breathe. /// internal static string AuraBreathe { get { diff --git a/app/Properties/Strings.resx b/app/Properties/Strings.resx index 6d47593a..8a30d94e 100644 --- a/app/Properties/Strings.resx +++ b/app/Properties/Strings.resx @@ -154,7 +154,7 @@ Apply Power Limits - Auto Adjust Windows Power Plan + Auto adjust Windows Power Mode Breathe diff --git a/app/Properties/Strings.tr.resx b/app/Properties/Strings.tr.resx index 8279459a..ae8f8974 100644 --- a/app/Properties/Strings.tr.resx +++ b/app/Properties/Strings.tr.resx @@ -154,7 +154,7 @@ Güç Sınırlarını Uygula - Auto Adjust Windows Power Mode + Auto adjust Windows Power Mode Nefes diff --git a/app/Properties/Strings.uk.resx b/app/Properties/Strings.uk.resx index 59a6b309..35fc4d6f 100644 --- a/app/Properties/Strings.uk.resx +++ b/app/Properties/Strings.uk.resx @@ -154,7 +154,7 @@ Застосувати потужність - Auto Adjust Windows Power Mode + Автоматично застосовувати Windows Power Mode Дихання diff --git a/app/Settings.cs b/app/Settings.cs index 570c2b64..fb857464 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -359,7 +359,7 @@ namespace GHelper cmd.StartInfo.UseShellExecute = false; cmd.StartInfo.CreateNoWindow = true; cmd.StartInfo.FileName = "powershell"; - cmd.StartInfo.Arguments = $"Start-Sleep -Seconds 1; Expand-Archive {zipLocation} -DestinationPath {exeDir} -Force; {exeLocation}"; + cmd.StartInfo.Arguments = $"Start-Sleep -Seconds 1; Expand-Archive {zipLocation} -DestinationPath {exeDir} -Force; Remove-Item {zipLocation} -Force; {exeLocation}"; cmd.Start(); Debug.WriteLine(requestUri);