OpenInApp: Support steam; integrate with SpotifyControls & ShowConnections

This commit is contained in:
V 2023-06-29 16:06:21 +02:00
parent e12c0e546c
commit 73354973a3
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
9 changed files with 149 additions and 19 deletions

View file

@ -58,4 +58,10 @@ export default {
getVersions: () => process.versions as Partial<NodeJS.ProcessVersions>,
openExternal: (url: string) => invoke<void>(IpcEvents.OPEN_EXTERNAL, url)
},
pluginHelpers: {
OpenInApp: {
resolveRedirect: (url: string) => invoke<string>(IpcEvents.OPEN_IN_APP__RESOLVE_REDIRECT, url),
},
}
};