Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -6,7 +6,7 @@ use std::{
|
||||
use async_channel::Sender;
|
||||
use async_fs::OpenOptions;
|
||||
use futures::AsyncWriteExt as _;
|
||||
use warpui::r#async::executor::{Background, BackgroundTask};
|
||||
use galaxyui::r#async::executor::{Background, BackgroundTask};
|
||||
|
||||
pub mod manager;
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ use std::io::ErrorKind;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::{Arc, Weak};
|
||||
use thiserror::Error;
|
||||
use warpui::r#async::executor::Background;
|
||||
use warpui::{Entity, SingletonEntity};
|
||||
use galaxyui::r#async::executor::Background;
|
||||
use galaxyui::{Entity, SingletonEntity};
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum LogManagerError {
|
||||
@@ -36,10 +36,10 @@ pub fn resolve_log_path(namespace: &str, relative_path: impl AsRef<Path>) -> Pat
|
||||
|
||||
/// Returns the base log directory for a given namespace name.
|
||||
fn log_directory_path(namespace: &str) -> PathBuf {
|
||||
let base_dir = warp_core::paths::secure_state_dir().unwrap_or_else(warp_core::paths::state_dir);
|
||||
let base_dir = galaxy_core::paths::secure_state_dir().unwrap_or_else(galaxy_core::paths::state_dir);
|
||||
if cfg!(windows) {
|
||||
base_dir
|
||||
.join(warp_core::paths::WARP_LOGS_DIR)
|
||||
.join(galaxy_core::paths::WARP_LOGS_DIR)
|
||||
.join(namespace)
|
||||
} else {
|
||||
base_dir.join(namespace)
|
||||
|
||||
@@ -6,7 +6,7 @@ use std::{
|
||||
},
|
||||
};
|
||||
|
||||
use warpui::r#async::executor::Background;
|
||||
use galaxyui::r#async::executor::Background;
|
||||
|
||||
use super::LogManager;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user