Merge branch 'dev' into immediate-finds
This commit is contained in:
commit
d4956f3ec7
1
.github/workflows/reportBrokenPlugins.yml
vendored
1
.github/workflows/reportBrokenPlugins.yml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
pnpm add puppeteer
|
|
||||||
|
|
||||||
- name: Install Google Chrome
|
- name: Install Google Chrome
|
||||||
id: setup-chrome
|
id: setup-chrome
|
||||||
|
|
|
@ -14,10 +14,11 @@ export default definePlugin({
|
||||||
authors: [Devs.AndrewDLO, Devs.FieryFlames],
|
authors: [Devs.AndrewDLO, Devs.FieryFlames],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "call_ringing_beat\"",
|
find: '"call_ringing_beat"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /500===\i\(\)\.random\(1,1e3\)/,
|
// FIXME Remove === alternative when it hits stable
|
||||||
replace: "true"
|
match: /500(!==|===)\i\(\)\.random\(1,1e3\)/,
|
||||||
|
replace: (_, predicate) => predicate === "!==" ? "false" : "true",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue