mirror of
https://github.com/wayvr-org/wayvr.git
synced 2026-11-30 22:02:44 -08:00
diag tab: dont check xwayland-satellite in AppImage
This commit is contained in:
1 parent
928493c442
commit
3621145289
1 file changed
+13
-6
@@ -1,3 +1,5 @@
|
||||
use std::env;
|
||||
|
||||
use wgui::layout::WidgetID;
|
||||
|
||||
use crate::{
|
||||
@@ -162,12 +164,17 @@ impl State {
|
||||
|
||||
mount_installed_path(par.mp, c, "pactl", Some("APP_SETTINGS.DIAGNOSTICS_REASON.PACTL"))?;
|
||||
mount_installed_path(par.mp, c, "cage", Some("APP_SETTINGS.DIAGNOSTICS_REASON.CAGE"))?;
|
||||
mount_installed_path(
|
||||
par.mp,
|
||||
c,
|
||||
"xwayland-satellite",
|
||||
Some("APP_SETTINGS.DIAGNOSTICS_REASON.XWAYLAND_SATELLITE"),
|
||||
)?;
|
||||
|
||||
// AppImage already contains xwayland-satellite, no need to check!
|
||||
if env::var_os("APPIMAGE").is_none() {
|
||||
mount_installed_path(
|
||||
par.mp,
|
||||
c,
|
||||
"xwayland-satellite",
|
||||
Some("APP_SETTINGS.DIAGNOSTICS_REASON.XWAYLAND_SATELLITE"),
|
||||
)?;
|
||||
}
|
||||
|
||||
mount_installed_path(par.mp, c, "xdg-open", Some("APP_SETTINGS.DIAGNOSTICS_REASON.XDG_OPEN"))?;
|
||||
mount_installed_path(par.mp, c, "steam", None)?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user