feat: remove wivrn appimage warning as it's no longer applicable
Some checks are pending
/ cargo-fmtcheck (push) Waiting to run
/ cargo-clippy (push) Waiting to run
/ cargo-test (push) Waiting to run
/ appimage (push) Waiting to run

This commit is contained in:
Gabriele Musco 2024-10-16 07:50:27 +02:00
parent 5254a9f3e5
commit 8c23ad9bac
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -37,7 +37,6 @@ use crate::{
set_current_openvrpaths_to_profile, set_current_openvrpaths_to_steam,
},
},
is_appimage::IS_APPIMAGE,
linux_distro::LinuxDistro,
openxr_prober::is_openxr_ready,
paths::get_data_dir,
@ -83,7 +82,6 @@ pub struct App {
wivrn_conf_editor: Option<Controller<WivrnConfEditor>>,
skip_depcheck: bool,
wivrn_appimage_warn_shown: bool,
configure_wivrn_action: gtk::gio::SimpleAction,
openxr_prober_worker: Option<JobWorker>,
xrservice_ready: bool,
@ -618,17 +616,6 @@ impl AsyncComponent for App {
}
}
Msg::ProfileSelected(prof) => {
if *IS_APPIMAGE
&& !self.wivrn_appimage_warn_shown
&& prof.xrservice_type == XRServiceType::Wivrn
{
alert(
"Envision is running as an AppImage",
Some("WiVRn does not support running inside an AppImage, and is likely to fail. You might want to install Envision using a different method."),
Some(&self.app_win.clone().upcast()),
);
self.wivrn_appimage_warn_shown = true;
}
self.configure_wivrn_action
.set_enabled(prof.xrservice_type == XRServiceType::Wivrn);
if prof.uuid == self.config.selected_profile_uuid {
@ -924,7 +911,6 @@ impl AsyncComponent for App {
libmonado: None,
wivrn_conf_editor: None,
skip_depcheck: false,
wivrn_appimage_warn_shown: false,
configure_wivrn_action,
openxr_prober_worker: None,
xrservice_ready: false,