Fix copying debug files on macos.
This commit is contained in:
parent
dfe40b7df4
commit
a829a2d2de
|
@ -80,7 +80,7 @@ Module {
|
|||
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName);
|
||||
|
||||
if (product.installDebugInformation)
|
||||
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName +
|
||||
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName + ".app" +
|
||||
product.cpp.debugInfoBundleSuffix);
|
||||
});
|
||||
|
||||
|
@ -109,7 +109,7 @@ Module {
|
|||
|
||||
if (product.installDebugInformation)
|
||||
data.push({
|
||||
"source" : product.buildDirectory + "/" + input.fileName + product.cpp.debugInfoBundleSuffix,
|
||||
"source" : product.buildDirectory + "/" + input.fileName + ".app" + product.cpp.debugInfoBundleSuffix,
|
||||
"destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + fileName +
|
||||
product.cpp.debugInfoBundleSuffix
|
||||
});
|
||||
|
|
|
@ -79,6 +79,8 @@ def get_app_name(sym_file):
|
|||
elif platform == "darwin":
|
||||
if base_name.endswith(".framework"):
|
||||
return base_name.split(".framework")[0]
|
||||
elif base_name.endswith(".app"):
|
||||
return base_name.split(".app")[0]
|
||||
|
||||
return base_name
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user