Finish rewrite

This commit is contained in:
Vendicated 2022-08-29 22:05:22 +02:00
parent c39ff8f648
commit 483bc13a31
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
15 changed files with 165 additions and 29 deletions

View file

@ -0,0 +1,14 @@
import definePlugin from '../utils/types';
export default definePlugin({
name: "Experiments",
author: "Vendicated",
description: "Enable Experiments",
patches: [{
find: "Object.defineProperties(this,{isDeveloper",
replacement: {
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
replace: "true"
}
}]
});