mirror of
https://github.com/SpotX-Official/SpotX-Bash.git
synced 2026-04-11 17:37:20 +10:00
Fix update block
This commit is contained in:
@@ -86,6 +86,6 @@ bash <(curl -sSL https://spotx-official.github.io/run.sh) -B --installmac
|
||||
```
|
||||
</details>
|
||||
|
||||
### Thanks
|
||||
### Thanks:
|
||||
|
||||
- [amd64fox](https://github.com/amd64fox/) of [SpotX](https://github.com/SpotX-Official/SpotX)
|
||||
|
||||
2
spotx.sh
2
spotx.sh
@@ -635,7 +635,7 @@ rm "${xpuiSpa}"
|
||||
rm -rf "${xpuiDir}"
|
||||
|
||||
if [[ "${platformType}" == "macOS" ]]; then
|
||||
[[ "${blockUpdates}" ]] && { $perlVar 's|\x64(?=\x65\x73\x6B\x74\x6F\x70\x2D\x75\x70)|\x00|' "${appBinary}"; printf "\xE2\x9C\x94\x20\x42\x6C\x6F\x63\x6B\x65\x64\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x75\x70\x64\x61\x74\x65\x73\n"; }
|
||||
[[ "${blockUpdates}" ]] && { $perlVar 's|\x64(?=\x65\x73\x6B\x74\x6F\x70\x2D\x75\x70)|\x00|g' "${appBinary}"; printf "\xE2\x9C\x94\x20\x42\x6C\x6F\x63\x6B\x65\x64\x20\x61\x75\x74\x6F\x6D\x61\x74\x69\x63\x20\x75\x70\x64\x61\x74\x65\x73\n"; }
|
||||
[[ -z "${skipCodesign+x}" ]] && { codesign -f --deep -s - "${appPath}" 2>/dev/null; printf "\xE2\x9C\x94\x20\x43\x6F\x64\x65\x73\x69\x67\x6E\x65\x64\x20\x53\x70\x6F\x74\x69\x66\x79\n"; }
|
||||
xattr -cr "${appPath}" 2>/dev/null
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user