mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
feat: windows
This commit is contained in:
1 parent
c0670e9025
commit
46f11af717
2 files changed
+3
-6
No files matched your search
@@ -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);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user