Add is_release to info method

This commit is contained in:
2021-01-27 16:48:43 +03:00
parent 2e4f4d6b6b
commit 17370290e0

View File

@@ -15,7 +15,8 @@ class HRCInfo extends HRCCommand implements HRCCommandInterface
return [
'status' => 'success',
'version' => $info['info']['version'] ?? '0.0'
'version' => $info['info']['version'] ?? '0.0',
'is_release' => (int)(!$info['info']['is_debug'] ?? true)
];
}
}