Skip to content

Commit

Permalink
feat: add new static folder location (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 authored Jun 12, 2022
1 parent af6e4a1 commit a6dd808
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ export async function runDownloader(force = false): Promise<void> {
throw Error(`Unsupported system: arch=${arch()} platform=${platform()}`)
}
await ensureDir(paths.data)
await ensureAsset('https://github.com/ethersphere/bee-desktop/releases/download/v0.2.2/static.zip', 'static.zip', {
checkTarget: 'static',
force,
})
await ensureAsset(
'https://github.com/Cafe137/bee-desktop-static-maker/releases/download/3ccdba68b93095a1daa29656b4ee989649858fadffaf6b92500488c71dc3bd34/static.zip',
'static.zip',
{
checkTarget: 'static',
force,
},
)
await ensureAsset(
`https://github.com/ethersphere/bee/releases/download/v1.6.1/bee-${platformString}-${archString}${suffixString}`,
`bee${suffixString}`,
Expand Down

0 comments on commit a6dd808

Please sign in to comment.