aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-06-29 16:06:21 +0200
committerV <vendicated@riseup.net>2023-06-29 16:15:07 +0200
commit73354973a37a03fffa5acacd49c9251008efbba8 (patch)
tree7ad74dff97a838aa12069d15f055c334567e8037 /src/VencordNative.ts
parente12c0e546c9042bebc31431b3b870d3c036d744d (diff)
downloadVencord-73354973a37a03fffa5acacd49c9251008efbba8.tar.gz
Vencord-73354973a37a03fffa5acacd49c9251008efbba8.tar.bz2
Vencord-73354973a37a03fffa5acacd49c9251008efbba8.zip
OpenInApp: Support steam; integrate with SpotifyControls & ShowConnections
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r--src/VencordNative.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index 02de74f..a7c16ef 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -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),
+ },
+ }
};