Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
141 stars 2 forks source link

Option to open links in the steam overlay #241

Open gentlecolts opened 1 year ago

gentlecolts commented 1 year ago

Is your feature request related to a problem? Please describe.

Links always open in web browser, which may be closed for any number of reasons, including wanting to save system resources. Also, users may be using restore session, and find re-opening the browser for a Resonite hyperlink undesirable. Probably other cases as well

Describe the solution you'd like

Option which allows links to open using the steam overlay browser, emphasis on option

Describe alternatives you've considered

Using an ingame browser would be another possibility, however i worry about the security implications of this, as well as the convenience of it

Additional Context

zangooseoo

shiftyscales commented 1 month ago

An in-app web browser would be covered by #956.

Are you aware of any specifics with how this functionality is typically implemented in other applications / are you able to provide documentation on how that functionality works in Steam / Steamworks?

XDelta commented 1 month ago

I've created a mod for doing this here https://github.com/XDelta/ResoniteOpenInSteamOverlay

The implementation is to just call SteamFriends.ActivateGameOverlayToWebPage("url") instead of Process.Start("url")

XDelta commented 1 month ago

And here is the relevant documentations for steamworks https://partner.steamgames.com/doc/api/ISteamFriends#ActivateGameOverlayToWebPage

Frooxius commented 1 month ago

Thanks for the info! This makes this pretty easy to do!