Comments (9)
We have notification settings, pretty sure those support it
As I see, it's a global toggle. I'm talking about a per plugin option to disable checking for updates. Some pc hardware app I forget does something like this where when there's an update from autocheck, you can choose "update", "ignore this update", "cancel/ignore".
from decky-loader.
The current version comparison is pretty naive. It simply checks if the latest version on the store equals the latest version installed. If they aren't equal, then it's assumed there's an update available. This works fine for all regular use cases and the dev and advanced use cases usually involve people smart enough to know not to update to an older version.
Also parsing version numbers and trying to figure out which version is higher is a really hard problem to solve well (e.g. is 1.0.0
newer or older than 1.0.0a
? 1.0.0alpha1
?).
from decky-loader.
I manually installed a preview version of TabMaster because it got broken by an update. But they want to wait until SteamOS pushes a specific change to stable.
TabMaster dev made a preview version for people with broken TabMaster.
That version is 2.3.1
The store version is 2.1.0
To make it not show the notification for an update I had to edit a json file so it thinks the manually installed version is 2.1.0.
I'm rusty when it comes to coding I'll admit. I didn't consider how the formatting does add some complexity to how to code it.
It may be a bit more complicated, but it's definitely a solved problem by many other devs.
Make the store the version number a variable that's an easier number to parse maybe?
Or have a specific prerelease flag so that it ignores the check for version numbers?
If you're just checking if the strings match then yeah, a greater than check requires some extra effort.
People have to have already come up with systems for this that you only need to adapt to your specific use case.
I respect you and am thankful for your work.
But it's a bit galling to be called "naive" when truly I haven't coded in years and forget such things that I should know and remember.
from decky-loader.
But it's a bit galling to be called "naive" when truly I haven't coded in years and forget such things that I should know and remember.
I was referring to the code in Decky that does the version comparison, not you. Sorry if my wording wasn't clear.
I agree with you but I wanted to add some extra context because each solution that I can think of has some downside that someone isn't going to like. In order of (imo) best to worst solution:
- Use timestamps instead of versions to determine which version is newer. This doesn't work if different versions receive different updates out of order (e.g. a bugfix is applied to a stable version after an early access version is released).
- Have a (prerelease) flag to indicate this version might be newer than the one on the store. Either this disables update prompts until the user manually updates or it introduces an extra warning prompt before updating. This is by far the easiest to implement, though.
- Parse the versions and compare them to determine which version is newer. This enforces a specific versioning system onto every plugin dev.
from decky-loader.
I apologize and thank you for the clarification.
from decky-loader.
How about doing the prerelease flag.
But when they check for updates manually, it does an extra check. For everything with the "no_update" flag, it presents those updates only at that time. Also, with an option to clear the notification dots if they're not desired.
It's a fair bit of extra work, of course.
But it should help mitigate the potential for missing new stable updates for the most part.
from decky-loader.
I'd love an option in decky loader to just "ignore updates" or "ignore current update". Ignoring updates completely would stop being bugged for updates cleanly for sideloaded or downgraded plugins while ignoring the current update would stop being bugged for this example until a new update is pushed on the store.
from decky-loader.
We have notification settings, pretty sure those support it
from decky-loader.
This appears to be solved in the latest release 2.11.1, haven't checked it on my device yet but it seems to be a per plugin option to disable update checks. Should be located in the developer section but should be able to be used for the end user for this purpose.
edit: Alright just checked it on my Steam Deck by downloading an older plugin. You have to enable developer mode on 2.11.1 but it's not in the developer or testing menu, its option to ignore updates is in the flyout in the plugins menu. Once you hit that, you seem to no longer be notified of any updates and the mass update button in the plugin menu ignores the plugin when updating. For my one downgraded plugin, it removed the button altogether since there are no plugins that can be updated.
from decky-loader.
Related Issues (20)
- [BUG] Decky Loader can not (re)install or uninstall HOT 3
- [Request] Will Decky Loader work on SteamOS, Ubuntu, and/or Linux Mint. HOT 1
- [Request] plugin install progress HOT 4
- [ISSUE] Can't uninstall failing plugin, gaming mode broken HOT 1
- [BUG] Decky is broken on latest beta client. HOT 18
- [BUG] Decky causes Freeze on StartUp Animation HOT 6
- [BUG] Decky Loader causes Baldur's Gate 3 to crash shortly after launch HOT 3
- [Request] Make Decky-Loader compatible with Windows with Millennium Project HOT 5
- [Will support for desktop linux (specifically manjaro) be implemented?] <title> HOT 5
- [BUG] toast notifications do not show after waking the deck from sleep
- [BUG] Something went wrong while dsplaying this content HOT 1
- [Request] Add rebooting to the install instructions HOT 2
- [BUG] Plugin installation hangs HOT 4
- Decky Loader not showing HOT 2
- [BUG] Decky loader starts frontend plugin two times when using option reload plugin HOT 1
- [Request] Add guaranteed time available for finish onDismount method in frontend HOT 3
- [BUG] Using useUIComposition in Plugins is blocking Navigate when play games HOT 1
- [BUG] Decky Loader tab does not appear in quick setting specifically in Offline Mode. HOT 6
- [Request] Notify user if new plugins have been added to the database HOT 1
- [BUG] Decky stops working when switching to a different Steam account HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decky-loader.