Fix build script.

This commit is contained in:
Roman Telezhynskyi 2024-04-03 19:31:24 +03:00
parent b99cd19885
commit 637a206810

View File

@ -20,7 +20,7 @@ Module {
product.multibundle.targetApps.forEach(function(targetApp) { product.multibundle.targetApps.forEach(function(targetApp) {
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName); artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName);
if (product.installDebugInformation && !(buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)) if (product.installDebugInformation && !(product.buildconfig.useConanPackages && product.buildconfig.conanCrashReportingEnabled))
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName + artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName +
product.cpp.debugInfoBundleSuffix); product.cpp.debugInfoBundleSuffix);
}); });
@ -48,7 +48,7 @@ Module {
"destination": installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName "destination": installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName
}); });
if (product.installDebugInformation && !(buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)) if (product.installDebugInformation && !(product.buildconfig.useConanPackages && product.buildconfig.conanCrashReportingEnabled))
data.push({ data.push({
"source" : product.buildDirectory + "/" + fileName + product.cpp.debugInfoBundleSuffix, "source" : product.buildDirectory + "/" + fileName + product.cpp.debugInfoBundleSuffix,
"destination": installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName + "destination": installRoot + "/" + targetApp + ".app/Contents/Frameworks/" + fileName +
@ -79,7 +79,7 @@ Module {
product.multibundle.targetApps.forEach(function(targetApp) { product.multibundle.targetApps.forEach(function(targetApp) {
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName); artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName);
if (product.installDebugInformation && !(buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)) if (product.installDebugInformation && !(product.buildconfig.useConanPackages && product.buildconfig.conanCrashReportingEnabled))
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName + ".app" + artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName + ".app" +
product.cpp.debugInfoBundleSuffix); product.cpp.debugInfoBundleSuffix);
}); });
@ -107,7 +107,7 @@ Module {
"destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName "destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName
}); });
if (product.installDebugInformation && !(buildconfig.useConanPackages && buildconfig.conanCrashReportingEnabled)) if (product.installDebugInformation && !(product.buildconfig.useConanPackages && product.buildconfig.conanCrashReportingEnabled))
data.push({ data.push({
"source" : product.buildDirectory + "/" + input.fileName + ".app" + product.cpp.debugInfoBundleSuffix, "source" : product.buildDirectory + "/" + input.fileName + ".app" + product.cpp.debugInfoBundleSuffix,
"destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + fileName + "destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + fileName +