neil-morrison44 / pocket-sync

A GUI tool (Mac, Windows, Linux) for doing stuff with the Analogue Pocket
GNU Affero General Public License v3.0
669 stars 25 forks source link

Error when getting ImagePacks #248

Closed palla89 closed 9 months ago

palla89 commented 9 months ago

Describe the bug Platforms: null undefined is not an object (evaluating '(await(await fetch(https://api.github.com/repos/${t}/${e}/releases/latest)).json()).assets.find') @tauri://localhost/assets/index-Rcqo1cnm.js:4763:14279

To Reproduce Platforms -> Image packs

Desktop (please complete the following information):

neil-morrison44 commented 9 months ago

@palla89 does this happen again if you close the app & retry?

I think the only thing that would cause this is loading the app in the brief period between an image pack release getting created and the .zip being attached.

The Image Pack & Data Pack buttons seem to work for me just now

I'll put in a fix that ignores that particular pack if it doesn't have assets