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

Automatic run program support for macOS

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • General
    • None
    • macOS

      It seems that on macOS some manual work must be done to allow run program to run an app bundle when the installer is completed. Here is the script I'm using:

      function Component()
      {
          installer.installationFinished.connect(this, function() {
              if (systemInfo.productType === 'osx') {
                  installer.setValue("RunProgram", "/usr/bin/open");
                  installer.setValue("RunProgramArguments", "@TargetDir@/bin/at-browser.app");
              }
          });
      }
      

      It would probably be better for Qt Installer Framework to handle this situation automatically, the solution was not obvious to me. Sorry if I missed something

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

            installerteam Installer Team
            joebentley Joe Bentley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes