signmacosdesktop
filip mertens 11 months ago
parent 799c585ca4
commit 955a7ec458
  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