Merge branch 'main' into tray-icon

This commit is contained in:
Oleh Polisan 2024-05-08 23:34:11 +03:00 committed by GitHub
commit 92888eb36a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 15 deletions

View file

@ -55,7 +55,7 @@
"typescript": "^5.4.2",
"xml-formatter": "^3.6.2"
},
"packageManager": "pnpm@8.11.0",
"packageManager": "pnpm@9.1.0",
"engines": {
"node": ">=18",
"pnpm": ">=8"

View file

@ -63,20 +63,6 @@ addPatch({
match: /this.localWant=/,
replace: "$self.patchStreamQuality(this);$&"
}
},
{
find: "x-google-max-bitrate",
replacement: [
{
// eslint-disable-next-line no-useless-escape
match: /"x-google-max-bitrate=".concat\(\i\)/,
replace: '"x-google-max-bitrate=".concat("80_000")'
},
{
match: /;level-asymmetry-allowed=1/,
replace: ";b=AS:800000;level-asymmetry-allowed=1"
}
]
}
],
patchStreamQuality(opts: any) {