(target)
| 25 | } |
| 26 | |
| 27 | async function copyNodeExecutable(target) { |
| 28 | await mkdir(nativeBinDir(target), { recursive: true }); |
| 29 | const out = nativeBinPath(target); |
| 30 | await copyFile(process.execPath, out); |
| 31 | if (process.platform !== 'win32') { |
| 32 | await run('chmod', ['755', out]); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | async function removeSignatureIfNeeded(target) { |
| 37 | const out = nativeBinPath(target); |
no test coverage detected