SwenH Posted 16 hours ago Report Posted 16 hours ago I would like to always launch a specific free game on all of my accounts via `steam-user`, but unfortunately, I can't find a way to determine which account already owns the game and which doesn't. The issue lies with the package IDs — since each game can have multiple package IDs, the only option I’ve found so far is to request a new license for the free game every time via the `steam-user`, just to make sure that the app ID is really in the library. However, this results in the same package ID being added multiple times to my licenses because I request it again each time. Is there any other way to reliably check whether a package ID for a specific app ID is already owned, so I can launch the game without requesting the license again? Quote
Dr. McKay Posted 5 hours ago Report Posted 5 hours ago Set the enablePicsCache option to true in the constructor, then listen for the ownershipCached event and once it's emitted, you can call ownsApp to check if you own a license for an app. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.