Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -9,8 +9,8 @@ use std::sync::Arc;
|
||||
#[cfg(feature = "local_tty")]
|
||||
use settings::Setting as _;
|
||||
#[cfg(feature = "local_tty")]
|
||||
use warpui::{AppContext, ModelContext};
|
||||
use warpui::{Entity, SingletonEntity};
|
||||
use galaxyui::{AppContext, ModelContext};
|
||||
use galaxyui::{Entity, SingletonEntity};
|
||||
|
||||
#[cfg(feature = "local_tty")]
|
||||
use crate::util::path::file_exists_and_is_executable;
|
||||
@@ -606,7 +606,7 @@ impl AvailableShells {
|
||||
ctx: &mut ModelContext<Self>,
|
||||
) -> anyhow::Result<()> {
|
||||
use super::session_settings::SessionSettings;
|
||||
use warp_core::features::FeatureFlag;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
SessionSettings::handle(ctx).update(ctx, |settings, ctx| {
|
||||
if FeatureFlag::ShellSelector.is_enabled() {
|
||||
settings
|
||||
@@ -624,7 +624,7 @@ impl AvailableShells {
|
||||
paths_to_search: &[PathBuf],
|
||||
fallback_path: Option<&Path>,
|
||||
) -> Vec<AvailableShell> {
|
||||
use warp_core::features::FeatureFlag;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
|
||||
if !FeatureFlag::ShellSelector.is_enabled() {
|
||||
return vec![
|
||||
@@ -722,7 +722,7 @@ impl AvailableShells {
|
||||
fn locate_msys2_executables() -> Vec<PathBuf> {
|
||||
use std::env;
|
||||
|
||||
use warp_core::features::FeatureFlag;
|
||||
use galaxy_core::features::FeatureFlag;
|
||||
|
||||
let mut paths = Vec::new();
|
||||
|
||||
@@ -982,7 +982,7 @@ impl Entity for AvailableShells {
|
||||
impl SingletonEntity for AvailableShells {}
|
||||
|
||||
#[cfg(feature = "local_tty")]
|
||||
pub fn register(app: &mut impl warpui::AddSingletonModel) {
|
||||
pub fn register(app: &mut impl galaxyui::AddSingletonModel) {
|
||||
#[cfg(windows)]
|
||||
app.add_singleton_model(super::wsl::WslInfo::new);
|
||||
app.add_singleton_model(AvailableShells::new);
|
||||
|
||||
Reference in New Issue
Block a user