fix(experiments): Patch canUseOverrides variable (#11)

main
megumin 2 years ago committed by GitHub
parent 204ce6758a
commit b6d2f50dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,5 +10,11 @@ export default definePlugin({
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
replace: "true"
}
}, {
find: "canUseOverrides",
replacement: {
match: /(\w)\|\|"CONNECTION_OPEN".+?;/g,
replace: "$1=!0;"
}
}]
});

Loading…
Cancel
Save