Fix app states

This commit is contained in:
Ward from fusion-voyager-3 2024-02-26 18:06:39 +03:00
parent 690d8a7109
commit fd5b1f7b42
2 changed files with 4 additions and 3 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
pika-welcome (5.0.0-100pika3) pikauwu; urgency=low
pika-welcome (5.0.0-100pika6) pikauwu; urgency=low
* First release

View File

@ -155,10 +155,11 @@ pub fn recommended_addons_page(
let entry_packages = recommended_addons_entry.packages;
gio::spawn_blocking(
clone!(@strong checkpkg_status_loop_sender, @strong entry_checkpkg => move || {
clone!(@strong checkpkg_status_loop_sender, @strong entry_checkpkg => move || loop {
thread::sleep(time::Duration::from_secs(6));
let checkpkg_command = Command::new("dpkg")
.arg("-s")
.arg(entry_checkpkg)
.arg(&entry_checkpkg)
.output()
.expect("failed to execute process");
if checkpkg_command.status.success() {