Skip to content

Commit

Permalink
fixes KXI-43632
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Apr 30, 2024
1 parent a487b42 commit 39e9785
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/commands/buildToolsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,21 @@ function initBuildTools() {
return new Promise<void>((resolve, reject) => {
const home = getBuidToolsHome();
if (home) {
if (process.platform === "darwin") {
const xattr = spawn(
"/usr/bin/xattr",
[
"-d",
"com.apple.quarantine",
Path.join(home, "ws", "lib", "*.{so,dylib}"),
],
{ shell: true },
);
xattr.on("exit", () => resolve());
xattr.on("error", (error) => reject(error));
} else {
resolve();
}
// if (process.platform === "darwin") {
// const xattr = spawn(
// "/usr/bin/xattr",
// [
// "-d",
// "com.apple.quarantine",
// Path.join(home, "ws", "lib", "*.{so,dylib}"),
// ],
// { shell: true },
// );
// xattr.on("exit", () => resolve());
// xattr.on("error", (error) => reject(error));
// } else {
resolve();
// }
} else {
reject(new Error("AXLIBRARIES_HOME is not set"));
}
Expand Down

0 comments on commit 39e9785

Please sign in to comment.