I think that having a way to prompt the user to add a server from a link could be a really nice QOL improvement. Similar to how Steam can open store pages or launch a game just by providing a steam:// URL.
Examples:
openfusion://addserver/endpoint/api.dexlabs.systems
openfusion://addserver/simple/127.0.0.1%3A23000%3Fversion%3Dec8063b2-54d4-4ee1-8d9e-381f5babd420
- (decodes to
openfusion://addserver/simple/127.0.0.1:23000?version=ec8063b2-54d4-4ee1-8d9e-381f5babd420)
Once these links are opened in the launcher, we can prefill the data provided in the deep link, while allowing the user to pick the data that wasn't provided (e.g. server name). The only pain point I can think of right now is that we will really need to scrutinize the code to make sure there wouldn't be any vulnerabilities (somehow executing arbitrary code in tauri's webview, for instance).
Tauri Docs: https://v2.tauri.app/plugin/deep-linking/
I think that having a way to prompt the user to add a server from a link could be a really nice QOL improvement. Similar to how Steam can open store pages or launch a game just by providing a
steam://URL.Examples:
openfusion://addserver/endpoint/api.dexlabs.systemsopenfusion://addserver/simple/127.0.0.1%3A23000%3Fversion%3Dec8063b2-54d4-4ee1-8d9e-381f5babd420openfusion://addserver/simple/127.0.0.1:23000?version=ec8063b2-54d4-4ee1-8d9e-381f5babd420)Once these links are opened in the launcher, we can prefill the data provided in the deep link, while allowing the user to pick the data that wasn't provided (e.g. server name). The only pain point I can think of right now is that we will really need to scrutinize the code to make sure there wouldn't be any vulnerabilities (somehow executing arbitrary code in tauri's webview, for instance).
Tauri Docs: https://v2.tauri.app/plugin/deep-linking/