blob: 743560da4a52afa3a637c9993bc3a337945f162b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "Ify",
description: "Disables Spotify auto-pausing and Premium checks, allowing you to listen along with others.",
authors: [Devs.Cyn],
patches: [{
find: '.displayName="SpotifyStore"',
replacement: [{
match: /\.isPremium=.;/,
replace: ".isPremium=true;"
}, {
match: /function (.{1,2})\(\).{0,200}SPOTIFY_AUTO_PAUSED\);.{0,}}}}/,
replace: "function $1(){}"
}]
}]
});
|