Skip to content

Commit 6d0d458

Browse files
fix: installer fixes
1 parent 107008d commit 6d0d458

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/lib/tools.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ export async function installStart() {
220220
updateInstallState({ progress: update.progress, status: update.status });
221221
});
222222

223+
if (!fs.existsSync(baseDir)) {
224+
fs.mkdirSync(baseDir);
225+
}
223226
updateInstallState({ active: true, phase: 'extract', progress: 0, status: 'Extracting tools...' })
224227
// await sleep(2000);
225228
await extractArchive(tmpArchive, baseDir, abortSignal.signal, (update) => {

0 commit comments

Comments
 (0)