Fix app states
This commit is contained in:
parent
690d8a7109
commit
fd5b1f7b42
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
|||||||
pika-welcome (5.0.0-100pika3) pikauwu; urgency=low
|
pika-welcome (5.0.0-100pika6) pikauwu; urgency=low
|
||||||
|
|
||||||
* First release
|
* First release
|
||||||
|
|
||||||
|
@ -155,10 +155,11 @@ pub fn recommended_addons_page(
|
|||||||
let entry_packages = recommended_addons_entry.packages;
|
let entry_packages = recommended_addons_entry.packages;
|
||||||
|
|
||||||
gio::spawn_blocking(
|
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")
|
let checkpkg_command = Command::new("dpkg")
|
||||||
.arg("-s")
|
.arg("-s")
|
||||||
.arg(entry_checkpkg)
|
.arg(&entry_checkpkg)
|
||||||
.output()
|
.output()
|
||||||
.expect("failed to execute process");
|
.expect("failed to execute process");
|
||||||
if checkpkg_command.status.success() {
|
if checkpkg_command.status.success() {
|
||||||
|
Loading…
Reference in New Issue
Block a user