feat: windows

This commit is contained in:
TrèsAbhi committed 2024-02-19 21:10:13 -06:00
1 parent c0670e9025
commit 46f11af717
2 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ await fetch(
}>,
)
.then(({ assets }) => {
const asset = assets.find(({ name }) => name.includes('linux-x64'));
const asset = assets.find(({ name }) => name.includes('windows-x64'));
if (!asset) throw new Error('No asset found');
return fetch(asset.browser_download_url);
})