mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 02:47:03 -04:00
OpenInApp: Support steam; integrate with SpotifyControls & ShowConnections
This commit is contained in:
parent
e12c0e546c
commit
73354973a3
9 changed files with 149 additions and 19 deletions
|
@ -89,7 +89,7 @@ export const SpotifyStore = proxyLazy(() => {
|
|||
public isSettingPosition = false;
|
||||
|
||||
public openExternal(path: string) {
|
||||
const url = Settings.plugins.SpotifyControls.useSpotifyUris
|
||||
const url = Settings.plugins.SpotifyControls.useSpotifyUris || Vencord.Plugins.isPluginEnabled("OpenInApp")
|
||||
? "spotify:" + path.replaceAll("/", (_, idx) => idx === 0 ? "" : ":")
|
||||
: "https://open.spotify.com" + path;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue