diff options
author | Frerich Raabe <raabe@froglogic.com> | 2016-01-11 16:21:31 +0100 |
---|---|---|
committer | Katja Marttila <katja.marttila@theqtcompany.com> | 2016-01-18 04:46:11 +0000 |
commit | 8b344748b7059ade811c7b0f28c4458b0d01eb4d (patch) | |
tree | 48cb2a7f1c1384f3842a122c69c7ae1f107a514e /examples | |
parent | e53cb9d364f9809d24748039a0526d4ec57764d6 (diff) |
Added support for setting descriptions of Windows shortcuts
This patch extends the CreateShortcut operation on Windows such that it
recognizes a new optional 'description' argument - if specified, it's
used to set the description (AKA "comment") of the Windows shortcut.
Change-Id: Ib0ab48bd30e83d9cc89b1bad7d2b88e9109bdcea
Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs b/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs index c1ae45054..ecc4ef8ac 100644 --- a/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs +++ b/examples/startmenu/packages/org.qtproject.ifw.example/meta/installscript.qs @@ -45,6 +45,6 @@ Component.prototype.createOperations = function() if (systemInfo.productType === "windows") { component.addOperation("CreateShortcut", "@TargetDir@/README.txt", "@StartMenuDir@/README.lnk", "workingDirectory=@TargetDir@", "iconPath=%SystemRoot%/system32/SHELL32.dll", - "iconId=2"); + "iconId=2", "description=Open README file"); } } |