diff --git a/spotx.sh b/spotx.sh index d932548..0bf6777 100644 --- a/spotx.sh +++ b/spotx.sh @@ -494,7 +494,7 @@ run_finish () { 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"; } - [[ -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"; } + [[ -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 fi }