(target)
| 34 | } |
| 35 | |
| 36 | async function removeSignatureIfNeeded(target) { |
| 37 | const out = nativeBinPath(target); |
| 38 | if (process.platform === 'darwin') { |
| 39 | await tryRun('codesign', ['--remove-signature', out]); |
| 40 | } |
| 41 | if (process.platform === 'win32') { |
| 42 | await tryRun('signtool', ['remove', '/s', out]); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | async function injectSeaBlob(target) { |
| 47 | const out = nativeBinPath(target); |
no test coverage detected