mirror of
https://github.com/SpotX-Official/SpotX-Bash.git
synced 2026-04-24 03:50:16 +10:00
Update
This commit is contained in:
2
spotx.sh
2
spotx.sh
@@ -494,7 +494,7 @@ run_finish () {
|
|||||||
|
|
||||||
if [[ "${platformType}" == "macOS" ]]; then
|
if [[ "${platformType}" == "macOS" ]]; then
|
||||||
[[ "${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"; }
|
[[ "${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"; }
|
[[ -z "${skipCodesign+x}" ]] && { xattr -cr "${appPath}" 2>/dev/null & 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
|
xattr -cr "${appPath}" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user