Tweaked some error messages and fixed a rare bug with AddShortcut

This commit is contained in:
Homes32
2022-06-20 15:35:34 -05:00
parent e33dddf53a
commit 7be6d89d8a
25 changed files with 41 additions and 41 deletions

View File

@@ -32,8 +32,8 @@
Title=PhoenixPE API
Author=Homes32
Description=PhoenixPE scripting support library.
Version=1.5.0.0
Date=2022-03-05
Version=1.5.1.0
Date=2022-06-16
Level=0
Selected=None
@@ -1048,7 +1048,7 @@ Else,Begin
If,Not,%WorkDir%,Equal,"",Echo,"Warning: Shortcuts.exe does not support the <WorkDir> argument for AddShortcut.",Warn
// Hotkey
If,%Hotkey%,Not,Equal,"",Echo,"Warning: Shortcuts.exe does not support the <Hotkey> argument for AddShortcut.",Warn
If,Not,%Hotkey%,Equal,"",Echo,"Warning: Shortcuts.exe does not support the <Hotkey> argument for AddShortcut.",Warn
// Final Cfg Entry
If,%Type%,Equal,"Desktop",IniWriteTextLine,%TargetSystem32%\PhoenixPE.cfg,Shortcut,"%Folder%|%Title%|%ProgramExe%|%Icon%|%Parameters%"