mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-18 02:58:04 +02:00
add working dir to shortcuts. This prevents an issue where some programs write config files to the shortcut dir instead of the .exe dir.
This commit is contained in:
@@ -120,8 +120,8 @@ RegUnloadHives
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// Shortcuts
|
||||
|
||||
If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%"
|
||||
If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%"
|
||||
If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,"",%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%","","%PEPrograms%\%ProgramFolder%"
|
||||
If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%","","%PEPrograms%\%ProgramFolder%"
|
||||
If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%"
|
||||
If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%ProgramFolder%\bin\%ProgramExe%"
|
||||
|
||||
|
Reference in New Issue
Block a user