Skip binary CLI relaunch (#26261)

This commit is contained in:
ruomeng
2026-04-30 13:48:23 -04:00
committed by GitHub
parent 9a98b0e56c
commit 0f1077076e
4 changed files with 71 additions and 2 deletions
+5
View File
@@ -99,6 +99,11 @@ function removeSignature(filePath) {
* @param {string} filePath
*/
function signFile(filePath) {
if (process.env.SKIP_SIGNING === 'true') {
console.log(`Skipping signing for ${filePath} (SKIP_SIGNING=true)`);
return;
}
const platform = process.platform;
if (platform === 'darwin') {