feat: auto retry start on app startup crash (#8966)

This commit is contained in:
Constrat
2024-05-06 22:04:26 +02:00
committed by GitHub
parent b051a46241
commit fef2f56d39
11 changed files with 394 additions and 195 deletions

View File

@@ -96,6 +96,7 @@ bool asst::GeneralConfig::parse(const json::value& json)
adb.start = cfg_json.get("start", base_cfg.start);
adb.stop = cfg_json.get("stop", base_cfg.stop);
adb.abilist = cfg_json.get("abilist", base_cfg.abilist);
adb.version = cfg_json.get("version", base_cfg.version);
adb.orientation = cfg_json.get("orientation", base_cfg.orientation);
adb.push_minitouch = cfg_json.get("pushMinitouch", base_cfg.push_minitouch);
adb.chmod_minitouch = cfg_json.get("chmodMinitouch", base_cfg.chmod_minitouch);