mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 00:53:04 -04:00
Finish rewrite
This commit is contained in:
parent
c39ff8f648
commit
483bc13a31
15 changed files with 165 additions and 29 deletions
14
src/plugins/experiments.ts
Normal file
14
src/plugins/experiments.ts
Normal 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"
|
||||
}
|
||||
}]
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue