diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2022-11-11 01:32:26 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2022-11-12 13:45:11 +0000 |
commit | ee7524998d6110d9b0cbe5fdf5fa960c8f0f33fc (patch) | |
tree | f9b531fb25215cfff8cc0c5213f5650b35ecd16c | |
parent | 3cc4f248c048feeea5912360b655ec2b0acea17a (diff) |
macos: fix support for Macos Venturav1.24.0
The lsregister tool takes path to a bundle, not a name.
Change-Id: I9093bab53586dc66d2854cd02271b1402fb33ac5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-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); } |