mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-31 13:18:46 +00:00
feat: remove wivrn appimage warning as it's no longer applicable
This commit is contained in:
parent
5254a9f3e5
commit
8c23ad9bac
1 changed files with 0 additions and 14 deletions
|
@ -37,7 +37,6 @@ use crate::{
|
||||||
set_current_openvrpaths_to_profile, set_current_openvrpaths_to_steam,
|
set_current_openvrpaths_to_profile, set_current_openvrpaths_to_steam,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
is_appimage::IS_APPIMAGE,
|
|
||||||
linux_distro::LinuxDistro,
|
linux_distro::LinuxDistro,
|
||||||
openxr_prober::is_openxr_ready,
|
openxr_prober::is_openxr_ready,
|
||||||
paths::get_data_dir,
|
paths::get_data_dir,
|
||||||
|
@ -83,7 +82,6 @@ pub struct App {
|
||||||
|
|
||||||
wivrn_conf_editor: Option<Controller<WivrnConfEditor>>,
|
wivrn_conf_editor: Option<Controller<WivrnConfEditor>>,
|
||||||
skip_depcheck: bool,
|
skip_depcheck: bool,
|
||||||
wivrn_appimage_warn_shown: bool,
|
|
||||||
configure_wivrn_action: gtk::gio::SimpleAction,
|
configure_wivrn_action: gtk::gio::SimpleAction,
|
||||||
openxr_prober_worker: Option<JobWorker>,
|
openxr_prober_worker: Option<JobWorker>,
|
||||||
xrservice_ready: bool,
|
xrservice_ready: bool,
|
||||||
|
@ -618,17 +616,6 @@ impl AsyncComponent for App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Msg::ProfileSelected(prof) => {
|
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
|
self.configure_wivrn_action
|
||||||
.set_enabled(prof.xrservice_type == XRServiceType::Wivrn);
|
.set_enabled(prof.xrservice_type == XRServiceType::Wivrn);
|
||||||
if prof.uuid == self.config.selected_profile_uuid {
|
if prof.uuid == self.config.selected_profile_uuid {
|
||||||
|
@ -924,7 +911,6 @@ impl AsyncComponent for App {
|
||||||
libmonado: None,
|
libmonado: None,
|
||||||
wivrn_conf_editor: None,
|
wivrn_conf_editor: None,
|
||||||
skip_depcheck: false,
|
skip_depcheck: false,
|
||||||
wivrn_appimage_warn_shown: false,
|
|
||||||
configure_wivrn_action,
|
configure_wivrn_action,
|
||||||
openxr_prober_worker: None,
|
openxr_prober_worker: None,
|
||||||
xrservice_ready: false,
|
xrservice_ready: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue