mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
amepatch: set correct exit code
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
45fac6d694
commit
2bdc9ecf7b
@ -44,7 +44,7 @@ if [ -d "/var/packages/CodecPack" ]; then
|
||||
content='[{"attribute": {"codec": "hevc", "type": "free"}, "status": "valid", "extension_gid": null, "expireTime": 0, "appName": "ame", "follow": ["device"], "duration": 1576800000, "appType": 14, "licenseContent": 1, "registered_at": 1649315995, "server_time": 1685421618, "firstActTime": 1649315995, "licenseCode": "0"}, {"attribute": {"codec": "aac", "type": "free"}, "status": "valid", "extension_gid": null, "expireTime": 0, "appName": "ame", "follow": ["device"], "duration": 1576800000, "appType": 14, "licenseContent": 1, "registered_at": 1649315995, "server_time": 1685421618, "firstActTime": 1649315995, "licenseCode": "0"}]'
|
||||
else
|
||||
echo "MD5 mismatch - already patched or unsupported version!"
|
||||
exit 1
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for ((i = 0; i < ${#hex_values[@]}; i++)); do
|
||||
|
Loading…
Reference in New Issue
Block a user