Skip to content

Windows shell replacement in Rust: taskbar, file manager, NTFS search, task manager, disk cleaner. One installer exe.

Rust

Release v0.4.1

Lemxya73269b0b015
diff --git a/Cargo.lock b/Cargo.lock
index a0b7f4c..5633555 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -154,7 +154,7 @@ dependencies = [
[[package]]
name = "plugin-launcher"
-version = "0.4.0"
+version = "0.4.1"
dependencies = [
"embed-resource",
"windows-sys",
diff --git a/Cargo.toml b/Cargo.toml
index 0396f0d..a75d508 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "plugin-launcher"
-version = "0.4.0"
+version = "0.4.1"
edition = "2024"
[[bin]]
diff --git a/plugins/topbar/src/main.rs b/plugins/topbar/src/main.rs
index e426873..6830e25 100644
--- a/plugins/topbar/src/main.rs
+++ b/plugins/topbar/src/main.rs
@@ -1220,7 +1220,10 @@ fn refresh() {
let ok = GetSystemPowerStatus(&mut p) != 0 && p.BatteryFlag & 128 == 0 && p.BatteryLifePercent <= 100;
BAT.set(if ok { (p.BatteryLifePercent as i32, p.ACLineStatus == 1) } else { (-1, false) });
read_volume();
- EXPLORER_UP.store(!find_other("Shell_TrayWnd").is_null(), Relaxed);
+ let up = !find_other("Shell_TrayWnd").is_null();
+ if EXPLORER_UP.swap(up, Relaxed) && !up {
+ place(BAR.load(Relaxed) as HWND); // Explorer (started for Settings) is gone and took the reserved strip with it
+ }
if TAPPS.with_borrow(|t| t.is_empty()) && n % 8 == 4 {
announce(); // no icons yet (apps started before us, or explorer restarted): ask them to register again
}