jurassicplayer / decky-autoflatpaks

A decky-loader plugin to manage, notify, and/or automatically update your steamdeck flatpaks without DesktopMode.
Other
18 stars 1 forks source link

Check for updates - Stuck in loop #7

Closed DisasterIncarnate closed 1 year ago

DisasterIncarnate commented 1 year ago

SteamOS - Stable DeckyLoader - Stable

Previously used to work, until the last stable update to steam-os (for me at least), now AutoflatPak's constantly searches for updates, messages the results via toast message, then immediatly loops back to searching/reporting and never actually gets to update, have to uninstall due to the toast message spamming up and making sounds non stop.

My other decky plugins seem to be working ok, so not sure whats gone wrong.

jurassicplayer commented 1 year ago

I'm not entirely sure what the issue is, or at least, I can't reproduce it with a simple change to Stable versions of SteamOS and DeckyLoader. If you could, check the config (~/homebrew/settings/decky-autoflatpaks/settings.json) for bad values like null or None or if the updateInterval is 0 or something. Alternatively, maybe just delete the config file and see if that fixes the issue (hopefully, otherwise I might need a little more information about what is going on).

Also make sure to to remove the config in the old location (~/homebrew/settings/autoflatpaks.json) if it's there.

DisasterIncarnate commented 1 year ago

you sir are a legend, you are right i looked in that json and for some weird reason "update interval" had no value, not sure how that happened as the only options i recall messing with was unattended updates, but just incase anything else was wrong/missing i deleted the file and now after a reboot its working as intended :D many thanks.

jurassicplayer commented 1 year ago

Oh, well that was probably some failing of my coding in trying to migrate settings to the right spot.

Oscillate18 commented 1 year ago

I was also having this issue constantly, the settings file was in the right location but the update interval was set to false. After deleting the settings file and a reboot, the plugin is working perfectly. The settings file now has a different layout to before so it seems like the old config didn't update at some point.