diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/modules/bundle/BundleModule.qbs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs index 7432161a4..d43be5116 100644 --- a/share/qbs/modules/bundle/BundleModule.qbs +++ b/share/qbs/modules/bundle/BundleModule.qbs @@ -778,8 +778,10 @@ Module { if (bundleType === "application" && product.moduleProperty("qbs", "targetOS").contains("macos")) { + var bundlePath = FileInfo.joinPaths( + product.destinationDirectory, product.bundle.bundleName); cmd = new Command(ModUtils.moduleProperty(product, "lsregisterPath"), - ["-f", product.bundle.bundleName]); + ["-f", bundlePath]); cmd.description = "registering " + ModUtils.moduleProperty(product, "bundleName"); commands.push(cmd); } |