SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.78k stars 166 forks source link

[Request] Persistent Updater #355

Closed Jademalo closed 1 year ago

Jademalo commented 1 year ago

Please confirm

Feature Request Description

There should be an optional service that will check on boot to see if Decky is correctly installed, and if not reinstall the current version of either release or development.

Further Description

When running on the Steam client beta branch, every time there is an update I need to manually reinstall Decky. While I assume this is an issue running on the regular branch as well, it's a much bigger problem on the beta branch since updates are so frequent.

At present I have a shortcut on the desktop to do this, but that's obviously inconvenient since it requires going into desktop mode, clicking, manually typing in the password, and then going back to the main deck interface basically every time I use my deck since updates are so frequent.

Would it be possible to implement some sort of service that checks on boot to see if Decky is correctly installed and functional, and if not reinstall it automatically?

Thanks!

AAGaming00 commented 1 year ago

This only happens on stable if you aren't keeping decky up to date, we are usually far ahead of stable with fixes

Beta doesn't break very often but more often than stable, and we usually fix it quickly

Possibly we could include a button combination to force update decky on startup.

Jademalo commented 1 year ago

It tends not to break in terms of bugs etc, the issue I'm finding is that it just disappears from the quick menu until I do a reinstall after every beta update. I've never yet had it persist through an update, but reinstalling gets it working again every time.

AAGaming00 commented 1 year ago

It tends not to break in terms of bugs etc, the issue I'm finding is that it just disappears from the quick menu until I do a reinstall after every beta update. I've never yet had it persist through an update, but reinstalling gets it working again every time.

Perhaps the remote debugging toggle in steam is disabling itself?

Jademalo commented 1 year ago

I don't believe so, I don't have to reenable it when reinstalling Decky.

BenStein1 commented 1 year ago

Same here. Not broken, but plugin menu is missing after every OS update on Beta where I have to reinstall/update Decky from desktop to get it back. I wish there was an automatic way it would maintain that, perhaps similar to the way SteamOS-btrfs does it?

TrainDoctor commented 1 year ago

@Jademalo @BenStein1 Please understand that valve breaks decky in such a way that "checking if decky is installed correctly" is not a viable strategy. Valve changes the name of where the JS is executed frequently, this and other related issues is why Decky disappears from the QAM. This cannot be remedied short of Valve no longer renaming the tab where JS is executed constantly. Closing as a "can'tfix" rather than a wontfix.

Jademalo commented 1 year ago

Damn, that's a shame to hear, thanks.