|
|
@ -28,6 +28,14 @@ UI_DELAY = 0.2 |
|
|
|
OFFROAD_ALERTS = ['Offroad_IsTakingSnapshot'] |
|
|
|
OFFROAD_ALERTS = ['Offroad_IsTakingSnapshot'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def put_update_params(params: Params): |
|
|
|
|
|
|
|
params.put("UpdaterCurrentReleaseNotes", parse_release_notes(BASEDIR)) |
|
|
|
|
|
|
|
params.put("UpdaterNewReleaseNotes", parse_release_notes(BASEDIR)) |
|
|
|
|
|
|
|
description = "0.10.1 / this-is-a-really-super-mega-long-branch-name / 7864838 / Oct 03" |
|
|
|
|
|
|
|
params.put("UpdaterCurrentDescription", description) |
|
|
|
|
|
|
|
params.put("UpdaterNewDescription", description) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup_homescreen(click, pm: PubMaster): |
|
|
|
def setup_homescreen(click, pm: PubMaster): |
|
|
|
pass |
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
@ -51,6 +59,7 @@ def setup_settings_toggles(click, pm: PubMaster): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup_settings_software(click, pm: PubMaster): |
|
|
|
def setup_settings_software(click, pm: PubMaster): |
|
|
|
|
|
|
|
put_update_params(Params()) |
|
|
|
setup_settings(click, pm) |
|
|
|
setup_settings(click, pm) |
|
|
|
click(278, 720) |
|
|
|
click(278, 720) |
|
|
|
|
|
|
|
|
|
|
@ -92,9 +101,7 @@ def setup_confirmation_dialog(click, pm: PubMaster): |
|
|
|
def setup_update_available(click, pm: PubMaster): |
|
|
|
def setup_update_available(click, pm: PubMaster): |
|
|
|
params = Params() |
|
|
|
params = Params() |
|
|
|
params.put_bool("UpdateAvailable", True) |
|
|
|
params.put_bool("UpdateAvailable", True) |
|
|
|
params.put("UpdaterNewReleaseNotes", parse_release_notes(BASEDIR)) |
|
|
|
put_update_params(params) |
|
|
|
description = "0.10.1 / html-release-notes-2 / 7864838 / Oct 03" |
|
|
|
|
|
|
|
params.put("UpdaterCurrentDescription", description) |
|
|
|
|
|
|
|
setup_settings(click, pm) |
|
|
|
setup_settings(click, pm) |
|
|
|
close_settings(click, pm) |
|
|
|
close_settings(click, pm) |
|
|
|
|
|
|
|
|
|
|
|