Update Fitzgerald.gg - #15580
Conversation
|
This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed. Internal use only: Reviewer details Maintainer details |
|
|
Sorry. I've removed the direct java.awt.Desktop use. Since LinkBrowser.browse only accepts http/https schemes and this button opens a locally-generated .html file, I've routed it through LinkBrowser.open(path) instead — is that okay? It seems to be the RuneLite helper for local paths, and it launches the file in the default browser via the wrapped OS opener. The cloud variant of the same button already uses LinkBrowser.browse. Updated the plugin commit accordingly. Let me know if I need to change my approach. |
|
you cannot use LinkBrowser.open |
|
LinkBrowser.open is not allowed either. If you want you can have a button copy the URL to the clipboard, that is what I have seen most plugins do instead. |
|
Thanks for the pointer - I have amended to that approach. In local mode the button now copies the page link to the clipboard as you suggested, rather than opening anything directly; cloud mode still opens the profile URL via LinkBrowser.browse. |
9679657
into
runelite:master
Adding local support and the inclusion of skill stat tracking.