mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-18 14:44:40 +00:00
desktop: fix latest.json finalizer
This commit is contained in:
@@ -91,7 +91,7 @@ const entries: Record<string, { url: string; signature: string }> = {}
|
|||||||
const add = (key: string, asset: Asset, signature: string) => {
|
const add = (key: string, asset: Asset, signature: string) => {
|
||||||
if (entries[key]) return
|
if (entries[key]) return
|
||||||
entries[key] = {
|
entries[key] = {
|
||||||
url: `https://github.com/${repo}/releases/download/${version}/${asset.name}`,
|
url: `https://github.com/${repo}/releases/download/v${version}/${asset.name}`,
|
||||||
signature,
|
signature,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user