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
0746a5a05f
commit
0dca9c06fe
@ -42,8 +42,8 @@ if [ -d "/var/packages/CodecPack" ]; then
|
||||
hex_values=('3718' '60A5' '60D1' '6111' '6137' 'B5F0')
|
||||
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"
|
||||
exit 1
|
||||
echo "MD5 mismatch - Already patched or unsupported version!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for ((i = 0; i < ${#hex_values[@]}; i++)); do
|
||||
|
Loading…
Reference in New Issue
Block a user