Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-226

Make CreateShortcut operation a NOOP on non-Windows systems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.4.0
    • 1.3.0
    • General
    • None
    • a138bb308465591b62a368ed1bebe228120c0007

    Description

      The primary (only?) use case of the 'CreateShortcut' operation is on Windows. However, the operation is still executed on other systems, which forces users to write

          if (installer.value("os") === "win") {
              component.addOperation("CreateShortcut", installer.value("TargetDir") + "/README.txt", installer.value(StartMenuDir") + "/README.lnk");
          }
      

      . We should just making the operation a NOOP on other systems.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nath Niels Weber
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes