This commit is contained in:
jetfir3
2024-03-18 17:39:36 -04:00
committed by GitHub
parent 888e336702
commit 9263246397

View File

@@ -488,6 +488,7 @@ run_patches () {
fi fi
for cmd in "${defaultBinary[@]}"; do $perlVar "$cmd" "${appBinary}"; done for cmd in "${defaultBinary[@]}"; do $perlVar "$cmd" "${appBinary}"; done
[[ "${platformType}" == "macOS" ]] && for cmd in "${macBinary[@]}"; do $perlVar "$cmd" "${appBinary}"; done
for cmd in "${defaultVendor[@]}"; do $perlVar "$cmd" "${vendorXpuiJs}"; done for cmd in "${defaultVendor[@]}"; do $perlVar "$cmd" "${vendorXpuiJs}"; done
for cmd in "${defaultXpui[@]}"; do $perlVar "$cmd" "${xpuiJs}"; done for cmd in "${defaultXpui[@]}"; do $perlVar "$cmd" "${xpuiJs}"; done
@@ -553,11 +554,15 @@ lyricsBackground='s|--lyrics-color-inactive":\K(.).inactive|$1.background|; s|--
defaultBinary=( defaultBinary=(
's|\x00\K\x61(?=\x64\x2D\x6C\x6F\x67\x69\x63\x2F\x73)|\x00|' #adLogic 's|\x00\K\x61(?=\x64\x2D\x6C\x6F\x67\x69\x63\x2F\x73)|\x00|' #adLogic
's|\x00\K\x73(?=\x6C\x6F\x74\x73\x00)|\x00|' #adSlot 's|\x00\K\x73(?=\x6C\x6F\x74\x73\x00)|\x00|' #adSlot
's|\x70\x6F\x64\x63\x61\x73\x74\K\x2D\x70|\x20\x70|g' #prePostSlot 's|\x70\x6F\x64\x63\x61\x73\x74\K\x2D\x70\x72|\x20\x70\x72|g' #preSlot
's|\x70\x6F\x64\x63\x61\x73\x74\K\x2D\x6D\x69|\x20\x6D\x69|g' #midSlot
's|\x00\K\x67(?=\x61\x62\x6F\x2D\x72\x65\x63\x65\x69\x76\x65\x72\x2D\x73\x65\x72\x76\x69\x63\x65)|\x00|g' #gaboRequest 's|\x00\K\x67(?=\x61\x62\x6F\x2D\x72\x65\x63\x65\x69\x76\x65\x72\x2D\x73\x65\x72\x76\x69\x63\x65)|\x00|g' #gaboRequest
) )
macBinary=(
's|\x70\x6F\x64\x63\x61\x73\x74\K\x2D\x70\x6F|\x20\x70\x6F|g' #postSlot
's|\x70\x6F\x64\x63\x61\x73\x74\K\x2D\x6D\x69|\x20\x6D\x69|g' #midSlot
)
defaultVendor=( defaultVendor=(
's|this\.getStackTop\(\)\.client=e|return;$&|' #logSentry 's|this\.getStackTop\(\)\.client=e|return;$&|' #logSentry
's/\@webgate\/(remote|gabo)/"@" . $1/ge' #webgateRequest 's/\@webgate\/(remote|gabo)/"@" . $1/ge' #webgateRequest