diff --git a/app/Extra.cs b/app/Extra.cs index 5e4c8f5f..240d4dfb 100644 --- a/app/Extra.cs +++ b/app/Extra.cs @@ -178,7 +178,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 9d8ef87f..fd6f3e26 100644 --- a/app/Fans.cs +++ b/app/Fans.cs @@ -271,6 +271,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; @@ -282,8 +284,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 4563abf2..529f5f61 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 03aec5f9..08508c58 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/Properties/Strings.zh-CN.resx b/app/Properties/Strings.zh-CN.resx index a24b5678..7b37a6ba 100644 --- a/app/Properties/Strings.zh-CN.resx +++ b/app/Properties/Strings.zh-CN.resx @@ -154,7 +154,7 @@ 应用功率限制 - Auto Adjust Windows Power Mode + 自动调整Windows电源模式 呼吸 @@ -411,4 +411,4 @@ 窗口置顶 - \ No newline at end of file + 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); diff --git a/docs/README.md b/docs/README.md index 3d0f74ba..4e5c0354 100644 --- a/docs/README.md +++ b/docs/README.md @@ -20,7 +20,7 @@ Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix ## [:floppy_disk: Download App](https://github.com/seerge/g-helper/releases/latest/download/GHelper.zip) If you like this app, please [star :star: it on Github](https://github.com/seerge/g-helper) and spread a word about it! -### [:euro: Donate EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [💵 Donate USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY) +### [:euro: Donate EUR](https://www.paypal.com/donate/?hosted_button_id=4HMSHS4EBQWTA) | [💵 Donate USD](https://www.paypal.com/donate/?hosted_button_id=SRM6QUX6ACXDY) | [:coin: Donate via Stripe](https://buy.stripe.com/00gaFJ9Lf79v7WobII) _If you post about the app - please include a link. Thanks._