diff options
-rw-r--r-- | share/qbs/modules/bundle/BundleModule.qbs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/bundle/BundleModule.qbs b/share/qbs/modules/bundle/BundleModule.qbs index 833aeb68b..0c681d6fb 100644 --- a/share/qbs/modules/bundle/BundleModule.qbs +++ b/share/qbs/modules/bundle/BundleModule.qbs @@ -608,7 +608,8 @@ Module { commands.push(cmd); } - if (product.type.contains("application")) { + if (product.type.contains("application") + && product.moduleProperty("qbs", "targetOS").contains("osx")) { cmd = new Command(ModUtils.moduleProperty(product, "lsregisterPath"), ["-f", bundles[i].filePath]); cmd.description = "register " + ModUtils.moduleProperty(product, "bundleName"); |