From b4d4785a057b740810ad3af9e83d3823aff4e8fe Mon Sep 17 00:00:00 2001 From: Homes32 Date: Sun, 11 Aug 2024 23:10:50 -0500 Subject: [PATCH] Work around a bug in PCI-Z that causes the eternal ID database not be be used if the shortcut or ShellExecute doesn't specify the working directory. --- .../Applications/System Information/PCI-Z.script | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Projects/PhoenixPE/Applications/System Information/PCI-Z.script b/Projects/PhoenixPE/Applications/System Information/PCI-Z.script index 7e2b0d8..f72da8b 100644 --- a/Projects/PhoenixPE/Applications/System Information/PCI-Z.script +++ b/Projects/PhoenixPE/Applications/System Information/PCI-Z.script @@ -35,8 +35,8 @@ Author=Homes32 Level=5 Selected=False Mandatory=False -Version=1.1.1.0 -Date=2024-01-13 +Version=1.1.2.0 +Date=2024-08-11 [Variables] %ProgramFolder%="PCI-Z" @@ -71,8 +71,8 @@ Echo,"Configuring %ScriptTitle%..." /////////////////////////////////////////////////////////////////////////////////// // Shortcuts -If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" -If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" +If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%",,"%PEPrograms%\%ProgramFolder%" +If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%",,"%PEPrograms%\%ProgramFolder%" If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" @@ -142,7 +142,7 @@ If,Not,ExistFile,"%ProgramsCache%\%ProgramFolder%\%SetupFile%",Run,%ScriptFile%, Run,%ScriptFile%,ExtractProgram,"%ProjectTemp%\%ProgramFolder%" If,%cb_DownloadLatestDB%,Equal,True,Run,%ScriptFile%,DownloadDatabase If,ExistFile,"%ProgramsCache%\%ProgramFolder%\pci.ids",FileCopy,"%ProgramsCache%\%ProgramFolder%\pci.ids","%ProjectTemp%\%ProgramFolder%\pci.ids" -ShellExecuteEx,Open,"%ProjectTemp%\%ProgramFolder%\%ProgramExe%" +ShellExecuteEx,Open,"%ProjectTemp%\%ProgramFolder%\%ProgramExe%",,"%ProjectTemp%\%ProgramFolder%" [#ClearDownloadCache#] // ===============================================================================================================================