download wg parts

This commit is contained in:
tresabhi committed 2026-11-08 18:10:00 -06:00
1 parent 7918a88666
commit 47cb0f36f9
2 files changed
+11 -4

No files matched your search

@@ -26,6 +26,10 @@ export async function downloadWGPKGClient() {
console.log(`Downloading ${urls.length} packages...`);
await downloadWgParts(urls);
}
export async function downloadWgParts(urls: string[]) {
await rm(WGPKG_DIR, { recursive: true, force: true });
await mkdir(WGPKG_DIR, { recursive: true });