* Execute a file synchronously, ignoring errors
(cmd, args)
| 374 | * Execute a file synchronously, ignoring errors |
| 375 | */ |
| 376 | function execFileSyncIgnore (cmd, args) { |
| 377 | try { |
| 378 | execSync(cmd, args, { stdio: 'ignore' }) |
| 379 | } catch (e) { |
| 380 | // Ignore |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | async function runMac (archName) { |
| 385 | const pattern = new RegExp(`mac-${archName}\\.dmg$`) |