Create shortcuts.
The source file path, supports relative and absolute paths.
String
source_file = "code.exe"
Optional The shortcut name, supports using the FOLDER/NAME
pattern to indicate placing the shortcut in the folder at the creation location.
String
NAME
or FOLDER/NAME
..
.lnk
Optional The startup parameters for the shortcut.
String
target_args = "--debug"
Optional The shortcut icon.
String
target_icon = "./icons/code.ico"
Optional The creation location.
Vec<String Enum>
Desktop
StartMenu
, default value: ["Desktop"]
at = ["Desktop", "StartMenu"]
Delete the generated shortcut.
source_file
points to a relative path, that path is included in the manifestat
contains "Desktop"
at
contains "StartMenu"