fix: updater download — pass full UpdateInfo object, not just version string
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m4s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m4s
DownloadUpdate expects *UpdateInfo (with downloadUrl), not a version string. Frontend was passing latestVersion which caused a silent deserialization failure. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e916d5942b
commit
e1517daf9a
@ -117,7 +117,7 @@ async function handleUpdate(): Promise<void> {
|
||||
try {
|
||||
const path = await Call.ByName(
|
||||
"github.com/vstockwell/wraith/internal/updater.UpdateService.DownloadUpdate",
|
||||
updateInfo.value.latestVersion
|
||||
updateInfo.value
|
||||
) as string;
|
||||
await Call.ByName(
|
||||
"github.com/vstockwell/wraith/internal/updater.UpdateService.ApplyUpdate",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user