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);
|
artifactNames.push(installRoot + "/" + targetApp + ".app/Contents/MacOS/" + input.fileName);
|
||||||
|
|
||||||
if (product.installDebugInformation)
|
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);
|
product.cpp.debugInfoBundleSuffix);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ Module {
|
||||||
|
|
||||||
if (product.installDebugInformation)
|
if (product.installDebugInformation)
|
||||||
data.push({
|
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 +
|
"destination": installRoot + "/" + targetApp + ".app/Contents/MacOS/" + fileName +
|
||||||
product.cpp.debugInfoBundleSuffix
|
product.cpp.debugInfoBundleSuffix
|
||||||
});
|
});
|
||||||
|
|
|
@ -79,6 +79,8 @@ def get_app_name(sym_file):
|
||||||
elif platform == "darwin":
|
elif platform == "darwin":
|
||||||
if base_name.endswith(".framework"):
|
if base_name.endswith(".framework"):
|
||||||
return base_name.split(".framework")[0]
|
return base_name.split(".framework")[0]
|
||||||
|
elif base_name.endswith(".app"):
|
||||||
|
return base_name.split(".app")[0]
|
||||||
|
|
||||||
return base_name
|
return base_name
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user