Fix Finds
This commit is contained in:
parent
55c7a1b233
commit
5c3c5a05f3
2 changed files with 3 additions and 17 deletions
|
|
@ -54,12 +54,6 @@ const settings = definePluginSettings({
|
|||
default: true,
|
||||
restartNeeded: true,
|
||||
},
|
||||
preventLqDowngrade: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Prevent LQ simulcast downgrade during bandwidth dips",
|
||||
default: true,
|
||||
restartNeeded: true,
|
||||
},
|
||||
keyframeInterval: {
|
||||
type: OptionType.NUMBER,
|
||||
description: "Keyframe interval in ms (0 = encoder default, 5000 = every 5s)",
|
||||
|
|
@ -134,6 +128,7 @@ export default definePlugin({
|
|||
},
|
||||
],
|
||||
predicate: () => settings.store.unlockQualityOptions && !isPluginEnabled(fakeNitro.name),
|
||||
noWarn: true,
|
||||
},
|
||||
// remove guild premium tier restriction from stream fps options
|
||||
{
|
||||
|
|
@ -143,6 +138,7 @@ export default definePlugin({
|
|||
replace: "",
|
||||
},
|
||||
predicate: () => settings.store.unlockQualityOptions && !isPluginEnabled(fakeNitro.name),
|
||||
noWarn: true,
|
||||
},
|
||||
// allow resolutions above 720p at 60fps
|
||||
{
|
||||
|
|
@ -169,16 +165,6 @@ export default definePlugin({
|
|||
},
|
||||
],
|
||||
},
|
||||
|
||||
// prevent LQ simulcast downgrade during bandwidth dips
|
||||
{
|
||||
find: "Attempting to downgrade to LQ simulcast",
|
||||
replacement: {
|
||||
match: /"LQ"===\i&&!\i&&\i&&\(/,
|
||||
replace: "false&&(",
|
||||
},
|
||||
predicate: () => settings.store.preventLqDowngrade,
|
||||
},
|
||||
// raise default desktop bitrate caps at the source
|
||||
{
|
||||
find: "desktopBitrate:{",
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ export const IconUtils: t.IconUtils = findByPropsLazy("getGuildBannerURL", "getU
|
|||
|
||||
export const ColorUtils = mapMangledModuleLazy("Invalid hex color format", {
|
||||
rgbToHex: filters.byCode(".toString(16).slice(1)"),
|
||||
hexToRgba: filters.byCode("rgba(", "??"),
|
||||
hexToRgba: filters.byCode("`rgba(${"),
|
||||
hexToRgb: filters.byCode(".rgb();return"),
|
||||
rgbToHsl: filters.byCode("saturation:", "lightness:"),
|
||||
mixColors: filters.byCode(".substring(1,3),16)"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue