Fixed a regression with Start menu shortcut creation

This commit is contained in:
Homes32
2024-01-07 14:27:34 -06:00
parent d6068bdcca
commit 658f7c1243
2 changed files with 11 additions and 13 deletions

View File

@@ -32,8 +32,8 @@
Title=PhoenixPE API
Author=Homes32
Description=PhoenixPE scripting support library.
Version=1.9.1.0
Date=2024-01-02
Version=1.9.2.0
Date=2024-01-07
Level=0
Selected=None
@@ -316,7 +316,7 @@ Else,If,Not,%Folder%,Equal,"",Set,%Folder%,"\%Folder%"
// Type
If,%Type%,Equal,"Desktop",Set,%Cmd-Type%,"@DesktopCommonDir"
Else,If,%Type%,Equal,"StartMenu",Set,%Cmd-Type%,"@StartMenuCommonDir\Programs"
Else,If,%Type%,Equal,"StartMenu",Set,%Cmd-Type%,"@StartMenuCommonDir & #$q\Programs#$q"
Else,If,%Type%,Equal,"QuickLaunch",Set,%Cmd-Type%,"#$q#$pUSERPROFILE#$p\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch#$q"
Else,Halt,"AddShortcut Syntax Error: Shortcut type [%Type%] is not supported."