From 5c9b73c808e9c276670cf7523ab57d6cd8b253b8 Mon Sep 17 00:00:00 2001 From: Homes32 Date: Thu, 4 Sep 2025 18:36:19 -0500 Subject: [PATCH] Fixed an issue with Chinese language selection in CPU-Z.script --- .../Applications/System Information/CPU-Z.script | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Projects/PhoenixPE/Applications/System Information/CPU-Z.script b/Projects/PhoenixPE/Applications/System Information/CPU-Z.script index f9e797c..c6bd735 100644 --- a/Projects/PhoenixPE/Applications/System Information/CPU-Z.script +++ b/Projects/PhoenixPE/Applications/System Information/CPU-Z.script @@ -35,8 +35,8 @@ Author=Homes32 Level=5 Selected=False Mandatory=False -Version=1.0.17.0 -Date=2025-07-20 +Version=1.0.18.0 +Date=2025-09-04 [Variables] %ProgramFolder%="CPU-Z" @@ -52,10 +52,7 @@ Echo,"Processing %ScriptTitle%..." If,%cb_RunFromRam%,Equal,True,RunFromRam If,%SourceArch%,Equal,x64,Set,%ProgramExe%,"cpuz_x64.exe" -If,%cmb_Language%,Equal,"Chinese",Begin - Set,%DownloadURL%,%DownloadURL-cn% - Set,%SetupFile%,%SetupFile-cn% -End +If,%cmb_Language%,Equal,"Chinese",Set,%SetupFile%,%SetupFile-cn% /////////////////////////////////////////////////////////////////////////////////// // Extract @@ -108,7 +105,7 @@ If,Not,#r,Equal,0,Halt,"Error: Failed to extract [%SetupFile%]." Echo,"Downloading %ScriptTitle%..." If,%cmb_Language%,Equal,"Chinese",Begin Set,%DownloadURL%,%DownloadURL-cn% - Set,%SetupFile%,%SetupExe-cn% + Set,%SetupFile%,%SetupFile-cn% End WebGet,%DownloadURL%,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",NOERR If,Not,#r,Equal,200,Halt,"Download failed: The code returned was [#r]."