Fix PlatformSpoofer & Questify
This commit is contained in:
parent
2f047c1ce6
commit
b4d231558b
2 changed files with 21 additions and 7 deletions
|
|
@ -75,10 +75,10 @@ export default definePlugin({
|
|||
]
|
||||
},
|
||||
{
|
||||
find: '"2025-01-virtual-currency-rollout"',
|
||||
find: ".ORBS,label:",
|
||||
replacement: {
|
||||
match: /enabled:!1\}:\{enabled:\i\.enabled/,
|
||||
replace: "enabled:true}:{enabled:true"
|
||||
match: /\{enabled:(\i).{0,25}"collectibles_shop_header_bar"\}\)/,
|
||||
replace: "$1=true"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1809,6 +1809,24 @@ export default definePlugin({
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// Adds support for dev://experiment/2025-12-quest-cta-refactor-rollout
|
||||
find: "WATCH_VIDEO?async()=>{await",
|
||||
replacement: [
|
||||
{
|
||||
match: /(?=let{quest:)/,
|
||||
replace: "const questifyText=$self.getQuestUnacceptedButtonText(arguments[0].quest)??$self.getQuestAcceptedButtonText(arguments[0].quest);"
|
||||
},
|
||||
{
|
||||
match: /(?<=}\),)(\i\?\.\(\))/,
|
||||
replace: "!$self.processQuestForAutoComplete(arguments[0].quest,true)&&($1)"
|
||||
},
|
||||
{
|
||||
match: /(?<=,text:)(\i),icon:\i/,
|
||||
replace: "questifyText??$1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// Same thing as above, maybe? Different location though.
|
||||
find: ".ACCEPT_QUEST),",
|
||||
|
|
@ -1825,10 +1843,6 @@ export default definePlugin({
|
|||
match: /(?<="primary",onClick:)(\i)/,
|
||||
replace: "()=>{!$self.processQuestForAutoComplete(arguments[0].quest,true)&&$1()}"
|
||||
},
|
||||
{
|
||||
match: /(?<=\}\),)(\i\?\.\(\))/,
|
||||
replace: "!$self.processQuestForAutoComplete(arguments[0].quest,true)&&($1)"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue