mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-22 20:44:50 +00:00
Merge branch 'main' into feat/stardust
This commit is contained in:
commit
158f1cf5e5
13 changed files with 38 additions and 53 deletions
|
@ -40,7 +40,7 @@ pub fn get_build_stardust_jobs(
|
|||
let server_git = Git {
|
||||
repo: server_spec.repo,
|
||||
dir: get_stardust_base_dir() + "/stardust-xr-server",
|
||||
branch: server_spec.branch
|
||||
branch: server_spec.branch,
|
||||
};
|
||||
let prefix = get_stardust_prefix();
|
||||
jobs.extend(server_git.get_pre_build_jobs(update));
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use std::{collections::HashMap, env, fmt::Display, path::Path};
|
||||
|
||||
use crate::linux_distro::LinuxDistro;
|
||||
use std::{collections::HashMap, env, fmt::Display, path::Path};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum DepType {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
use std::fmt::Display;
|
||||
|
||||
use crate::{
|
||||
profile::Profile,
|
||||
profiles::{lighthouse::lighthouse_profile, wivrn::wivrn_profile, wmr::wmr_profile},
|
||||
};
|
||||
use std::fmt::Display;
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub enum PhysicalXRDevice {
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
use std::slice::Iter;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{
|
||||
file_utils::{deserialize_file, get_writer},
|
||||
paths::get_xdg_config_dir,
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::slice::Iter;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub enum XrtInputName {
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
use crate::runner::{Runner, RunnerStatus};
|
||||
use std::{
|
||||
mem,
|
||||
thread::{self, JoinHandle},
|
||||
};
|
||||
|
||||
use crate::runner::{Runner, RunnerStatus};
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct FuncRunnerOut {
|
||||
pub success: bool,
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use std::io::Read;
|
||||
|
||||
use crate::file_utils::get_reader;
|
||||
use std::io::Read;
|
||||
|
||||
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
|
||||
pub enum LinuxDistro {
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
use gtk::{
|
||||
prelude::IsA,
|
||||
traits::{GtkApplicationExt, GtkWindowExt},
|
||||
};
|
||||
use gtk::traits::{GtkApplicationExt, GtkWindowExt};
|
||||
use relm4::{adw::traits::MessageDialogExt, prelude::*};
|
||||
|
||||
fn alert_base(title: &str, msg: Option<&str>, parent: Option<>k::Window>) -> adw::MessageDialog {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use super::term_widget::TermWidget;
|
||||
use crate::log_level::LogLevel;
|
||||
use crate::log_parser::MonadoLog;
|
||||
use crate::ui::app::{DebugOpenDataAction, DebugOpenPrefixAction};
|
||||
|
@ -8,8 +9,6 @@ use relm4::prelude::*;
|
|||
use relm4::{ComponentSender, SimpleComponent};
|
||||
use zoha_vte4::TerminalExt;
|
||||
|
||||
use super::term_widget::TermWidget;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum SearchDirection {
|
||||
Forward,
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
use adw::prelude::*;
|
||||
use relm4::{factory::AsyncFactoryComponent, prelude::*, AsyncFactorySender};
|
||||
|
||||
use crate::{
|
||||
ui::devices_box::DevicesBoxMsg,
|
||||
xr_devices::{XRDevice, XRDeviceRole},
|
||||
};
|
||||
use adw::prelude::*;
|
||||
use relm4::{factory::AsyncFactoryComponent, prelude::*, AsyncFactorySender};
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum DeviceRowState {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use super::alert::alert;
|
||||
use crate::{
|
||||
adb::get_adb_install_runner,
|
||||
cmd_runner::CmdRunner,
|
||||
|
@ -16,8 +17,6 @@ use relm4::{
|
|||
};
|
||||
use std::thread::JoinHandle;
|
||||
|
||||
use super::alert::alert;
|
||||
|
||||
#[derive(PartialEq, Eq, Debug, Clone)]
|
||||
pub enum InstallWivrnStatus {
|
||||
Success,
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
use crate::profile::{LighthouseDriver, Profile};
|
||||
|
||||
use super::{
|
||||
job::{CmdWorkerData, FuncWorkerOut, WorkerJob},
|
||||
state::JobWorkerState,
|
||||
};
|
||||
use crate::profile::{LighthouseDriver, Profile};
|
||||
use nix::unistd::Pid;
|
||||
use relm4::{prelude::*, Worker};
|
||||
use std::{
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
pub mod about_dialog;
|
||||
pub mod alert;
|
||||
mod about_dialog;
|
||||
mod alert;
|
||||
pub mod app;
|
||||
pub mod build_window;
|
||||
pub mod debug_view;
|
||||
pub mod devices_box;
|
||||
pub mod factories;
|
||||
pub mod fbt_config_editor;
|
||||
pub mod install_wivrn_box;
|
||||
mod build_window;
|
||||
mod debug_view;
|
||||
mod devices_box;
|
||||
mod factories;
|
||||
mod fbt_config_editor;
|
||||
mod install_wivrn_box;
|
||||
pub mod job_worker;
|
||||
pub mod libsurvive_setup_window;
|
||||
pub mod macros;
|
||||
pub mod main_view;
|
||||
pub mod preference_rows;
|
||||
pub mod profile_editor;
|
||||
pub mod stardust;
|
||||
pub mod steam_launch_options_box;
|
||||
mod libsurvive_setup_window;
|
||||
mod macros;
|
||||
mod main_view;
|
||||
mod preference_rows;
|
||||
mod profile_editor;
|
||||
mod stardust;
|
||||
mod steam_launch_options_box;
|
||||
mod steamvr_calibration_box;
|
||||
pub mod term_widget;
|
||||
pub mod util;
|
||||
pub mod wivrn_conf_editor;
|
||||
mod term_widget;
|
||||
mod util;
|
||||
mod wivrn_conf_editor;
|
||||
|
|
|
@ -1,21 +1,19 @@
|
|||
use std::{
|
||||
collections::{HashMap, VecDeque},
|
||||
path::Path,
|
||||
thread::sleep,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
use crate::paths::get_steamvr_bin_dir_path;
|
||||
|
||||
use super::job_worker::{
|
||||
internal_worker::JobWorkerOut,
|
||||
job::{FuncWorkerOut, WorkerJob},
|
||||
JobWorker,
|
||||
};
|
||||
use crate::paths::get_steamvr_bin_dir_path;
|
||||
use relm4::{
|
||||
gtk::{self, prelude::*},
|
||||
ComponentParts, ComponentSender, RelmWidgetExt, SimpleComponent,
|
||||
};
|
||||
use std::{
|
||||
collections::{HashMap, VecDeque},
|
||||
path::Path,
|
||||
thread::sleep,
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
#[tracker::track]
|
||||
pub struct SteamVrCalibrationBox {
|
||||
|
|
Loading…
Add table
Reference in a new issue