mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
Feat/update progress (#1944)
* uodate FE to show progress once calculated * update mocks * only show progress when known Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
committed by
Aiden McClelland
parent
5b91b5f436
commit
18ee1e2685
@@ -135,7 +135,7 @@ async fn maybe_do_update(
|
||||
};
|
||||
|
||||
status.update_progress = Some(UpdateProgress {
|
||||
size: Some(100),
|
||||
size: None,
|
||||
downloaded: 0,
|
||||
});
|
||||
status.save(&mut tx).await?;
|
||||
@@ -301,7 +301,7 @@ async fn copy_ssh_host_keys() -> Result<(), Error> {
|
||||
async fn sync_boot() -> Result<(), Error> {
|
||||
Rsync::new(
|
||||
"/media/embassy/next/boot/",
|
||||
"/boot",
|
||||
"/boot/",
|
||||
RsyncOptions {
|
||||
delete: false,
|
||||
force: false,
|
||||
|
||||
Reference in New Issue
Block a user