From e3d0a04fa4b675f5ccf5e046d0e80d9c4036eced Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=AA=E4=B8=AD=E6=98=8E=E6=9C=88?= Date: Tue, 16 May 2023 21:12:58 +0800 Subject: [PATCH 1/3] Update Strings.zh-CN.resx --- app/Properties/Strings.zh-CN.resx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + From bdbec79aba6c691e232d674abcab67a07442d98e Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Tue, 16 May 2023 15:19:53 +0200 Subject: [PATCH 2/3] UI tweaks --- app/Extra.cs | 2 +- app/Fans.cs | 4 +++- app/Properties/Strings.Designer.cs | 4 ++-- app/Properties/Strings.resx | 2 +- app/Properties/Strings.tr.resx | 2 +- app/Properties/Strings.uk.resx | 2 +- app/Settings.cs | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) 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); From e23c727e79987dc716b447b0dadbf0544ca8be00 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Tue, 16 May 2023 15:44:30 +0200 Subject: [PATCH 3/3] Update README.md --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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._