function setupNode() { const basePath = path.resolve(nodePath, isWin ? "" : "..") return trash(basePath) .then(() => fs.ensureLink(process.execPath, nodePath)) }
function setupNode() { const basePath = path.resolve(nodePath, isWin ? "" : "..") return trash(basePath) .then(() => fs.ensureLink(process.execPath, nodePath)) }