ShortcutDetails 对象
优质
小牛编辑
123浏览
2023-12-01
target
字符串-该快捷方式启动的目标。cwd
字符串 (可选)-工作目录。默认值为空。args
字符串 (可选)-当从该快捷方式启动时要应用于target
的参数。默认值为空。description
字符串 (可选)-快捷方式的说明。默认值为空。icon
字符串 (可选)-图标的路径, 可以是 DLL 或 EXE。icon
和iconIndex
必须一起设置。 默认使用该快捷方式指向的target的图标。iconIndex
Number (可选) - 当icon
格式为DLL 或 EXE时的资源ID. 默认值为0appUserModelId
String (可选) - 应用程序用户模型ID. 默认值为空
ShortcutDetails Object
target
String - The target to launch from this shortcut.cwd
String (optional) - The working directory. Default is empty.args
String (optional) - The arguments to be applied totarget
when
launching from this shortcut. Default is empty.description
String (optional) - The description of the shortcut. Default
is empty.icon
String (optional) - The path to the icon, can be a DLL or EXE.icon
andiconIndex
have to be set together. Default is empty, which uses the
target's icon.iconIndex
Number (optional) - The resource ID of icon whenicon
is a
DLL or EXE. Default is 0.appUserModelId
String (optional) - The Application User Model ID. Default
is empty.