mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
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.
This commit is contained in:
@@ -35,8 +35,8 @@ Author=Homes32
|
|||||||
Level=5
|
Level=5
|
||||||
Selected=False
|
Selected=False
|
||||||
Mandatory=False
|
Mandatory=False
|
||||||
Version=1.1.1.0
|
Version=1.1.2.0
|
||||||
Date=2024-01-13
|
Date=2024-08-11
|
||||||
|
|
||||||
[Variables]
|
[Variables]
|
||||||
%ProgramFolder%="PCI-Z"
|
%ProgramFolder%="PCI-Z"
|
||||||
@@ -71,8 +71,8 @@ Echo,"Configuring %ScriptTitle%..."
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
// Shortcuts
|
// Shortcuts
|
||||||
|
|
||||||
If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%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%"
|
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_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%"
|
||||||
If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,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%"
|
Run,%ScriptFile%,ExtractProgram,"%ProjectTemp%\%ProgramFolder%"
|
||||||
If,%cb_DownloadLatestDB%,Equal,True,Run,%ScriptFile%,DownloadDatabase
|
If,%cb_DownloadLatestDB%,Equal,True,Run,%ScriptFile%,DownloadDatabase
|
||||||
If,ExistFile,"%ProgramsCache%\%ProgramFolder%\pci.ids",FileCopy,"%ProgramsCache%\%ProgramFolder%\pci.ids","%ProjectTemp%\%ProgramFolder%\pci.ids"
|
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#]
|
[#ClearDownloadCache#]
|
||||||
// ===============================================================================================================================
|
// ===============================================================================================================================
|
||||||
|
Reference in New Issue
Block a user