Skip to content

Commit 6107fc8

Browse files
committed
πŸ› fix: fix: CI build, Chrome session, GNOME app-folder integration
- Remove stale service.rs (conflicts with service/mod.rs from split) - Annotate mpsc channel type in window.rs (fixes E0282 on older rustc) - Manager .desktop: Categories=GTK;Utility β†’ Categories=GTK;Webapps - big-webapps-exec: Default/Browser β†’ --profile-directory=Default (use native Chrome session with logins); custom β†’ --user-data-dir - desktop.rs: ensure trailing semicolon in Categories= field - desktop.rs: on GNOME, reset app-picker-layout + write correct categories=['Webapps'] to dconf after desktop file changes
1 parent 42d2a17 commit 6107fc8

3 files changed

Lines changed: 11 additions & 737 deletions

File tree

β€Žcrates/webapps-core/src/desktop.rsβ€Ž

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ fn refresh_desktop_database() {
199199
.spawn();
200200

201201
// GNOME Shell caches app positions in app-picker-layout.
202-
// Reset it so apps move to correct folder after category change.
202+
// Reset layout + ensure WebApps folder has correct category filter.
203203
if std::env::var("XDG_CURRENT_DESKTOP")
204204
.unwrap_or_default()
205205
.to_lowercase()
@@ -208,6 +208,15 @@ fn refresh_desktop_database() {
208208
let _ = std::process::Command::new("dconf")
209209
.args(["reset", "/org/gnome/shell/app-picker-layout"])
210210
.spawn();
211+
212+
// ensure WebApps folder uses correct category (match .desktop Categories=Webapps;)
213+
let _ = std::process::Command::new("dconf")
214+
.args([
215+
"write",
216+
"/org/gnome/desktop/app-folders/folders/WebApps/categories",
217+
"['Webapps']",
218+
])
219+
.spawn();
211220
}
212221
}
213222

0 commit comments

Comments
Β (0)