Skip to content

Commit

Permalink
experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Oct 28, 2023
1 parent 52d1838 commit a39f894
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/renderer/coremods/experiments/plaintextPatches.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ export default [
replace: `"staging"`,
},
{
match: /(isDeveloper:{configurable:!1,get:function\(\){return )\w+(}})/g,
match: /(isDeveloper:{configurable:!1,get:\(\)=>)\w+(}})/g,
replace: (_, before, after) => `${before}true${after}`,
},
{
match: /=\(0,\w+\.isStaffEnv\)\(\w+\.default\.getCurrentUser\(\)\)/,
replace: "=true",
},
]
: [],
},
Expand Down

0 comments on commit a39f894

Please sign in to comment.