pull/5370/head
filip mertens 12 months ago
parent c7d27d80ea
commit aee1e00f9b
  1. 4
      apps/remixdesktop/aftersign.js

@ -25,6 +25,7 @@ exports.default = async function notarizing(context) {
reject(new Error(`Stderr: ${stderr}`));
return;
}
console.log(`stdout: ${stdout}`);
resolve(stdout);
});
});
@ -34,6 +35,7 @@ exports.default = async function notarizing(context) {
// Async function to check the stapling status
async function checkStapleStatus(appPath) {
try {
console.log(`xcrun stapler validate "${appPath}"`)
await execShellCommand(`xcrun stapler validate "${appPath}"`);
console.log('App is already stapled. No action needed.');
return true
@ -68,7 +70,7 @@ exports.default = async function notarizing(context) {
console.log(r)
// Stapling the app
console.log('STAPLING')
console.log('STAPLING', `xcrun stapler staple "${appPath}"`)
await execShellCommand(`xcrun stapler staple "${appPath}"`)

Loading…
Cancel
Save