1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 11:37:40 +00:00

Add progess bar, disable delete button while installation running.

This commit is contained in:
Jan Schneider
2018-01-23 23:25:42 +01:00
parent 3011834554
commit ee2965c91a
2 changed files with 28 additions and 12 deletions

View File

@@ -64,7 +64,7 @@ proc ::rmupdate::i18n {str} {
if {$str == "Failed to extract firmware image from archive."} { return "Firmware-Image konnte nicht entpackt werden." }
if {$str == "Another install process is running."} { return "Es läuft bereits ein andere Installationsvorgang." }
if {$str == "System not upgradeable."} { return "Dieses System ist nicht aktualisierbar." }
if {$str == "Rebooting system."} { return "Das System wird neu gestartet." }
if {$str == "System will reboot now."} { return "Das System wird jetzt neu gestartet." }
if {$str == "Latest firmware version: %s"} { return "Aktuellste Firmware-Version: %s" }
if {$str == "Current firmware version: %s"} { return "Installierte Firmware-Version: %s" }
}
@@ -732,7 +732,7 @@ proc ::rmupdate::install_firmware_version {version lang {reboot 1} {dryrun 0}} {
set_running_installation ""
if {$reboot && !$dryrun} {
write_install_log "Rebooting system."
write_install_log "System will reboot now."
}
after 5000