fix(core): update

This commit is contained in:
2024-03-17 21:24:25 +01:00
parent 8909149af8
commit 046a0ff55f
10 changed files with 116 additions and 195 deletions

View File

@@ -65,6 +65,9 @@ export class DenoDownloader {
} catch (error) {
console.error(`Error downloading Deno: ${error.message}`);
}
if (await plugins.smartfile.fs.fileExists(plugins.path.join(paths.nogitDir, 'deno'))) {
return;
}
const smartarchive = await plugins.smartarchive.SmartArchive.fromArchiveFile(outputPath);
const directory = plugins.path.dirname(outputPath);
console.log(`Extracting deno.zip to ${directory}`);