From 39e9785eaf4d34dd17f47edef16d9d3da44d9b0d Mon Sep 17 00:00:00 2001 From: ecmel Date: Tue, 30 Apr 2024 21:57:03 +0300 Subject: [PATCH] fixes KXI-43632 --- src/commands/buildToolsCommand.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/commands/buildToolsCommand.ts b/src/commands/buildToolsCommand.ts index 6b03652c..a64553c7 100644 --- a/src/commands/buildToolsCommand.ts +++ b/src/commands/buildToolsCommand.ts @@ -103,21 +103,21 @@ function initBuildTools() { return new Promise((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")); }