Merge branch 'dev' into immediate-finds

This commit is contained in:
Nuckyz 2024-05-03 19:09:49 -03:00
commit d4956f3ec7
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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",
} }
}, },
], ],