Wrapping up bedrock implementation
This commit is contained in:
@@ -3,10 +3,10 @@ use std::path::PathBuf;
|
||||
|
||||
use anyhow::{bail, Context as _, Result};
|
||||
use channel_versions::VersionInfo;
|
||||
use instant::Duration;
|
||||
use galaxy_core::channel::{Channel, ChannelState};
|
||||
use galaxy_terminal::shell::ShellType;
|
||||
use galaxyui::ViewContext;
|
||||
use instant::Duration;
|
||||
|
||||
use crate::workspace::Workspace;
|
||||
|
||||
@@ -161,13 +161,13 @@ mod appimage {
|
||||
}
|
||||
|
||||
mod package_manager {
|
||||
use markdown_parser::{
|
||||
FormattedText, FormattedTextFragment, FormattedTextHeader, FormattedTextLine,
|
||||
};
|
||||
use galaxyui::{
|
||||
elements::{Container, FormattedTextElement, HighlightedHyperlink},
|
||||
Element, SingletonEntity as _,
|
||||
};
|
||||
use markdown_parser::{
|
||||
FormattedText, FormattedTextFragment, FormattedTextHeader, FormattedTextLine,
|
||||
};
|
||||
|
||||
use crate::appearance::Appearance;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
use command::{blocking, r#async::Command};
|
||||
use futures::{StreamExt, TryStreamExt as _};
|
||||
use futures_lite::future;
|
||||
use galaxy_core::safe_error;
|
||||
use instant::Instant;
|
||||
use std::{
|
||||
env,
|
||||
@@ -13,14 +14,13 @@ use std::{
|
||||
str,
|
||||
time::Duration,
|
||||
};
|
||||
use galaxy_core::safe_error;
|
||||
|
||||
use anyhow::{anyhow, bail, ensure, Context, Result};
|
||||
use channel_versions::VersionInfo;
|
||||
use nix::unistd::{fchown, getgid};
|
||||
use nix::{errno::Errno, unistd::getuid};
|
||||
use galaxy_core::macos::get_bundle_path;
|
||||
use galaxyui::{AppContext, ModelContext, SingletonEntity};
|
||||
use nix::unistd::{fchown, getgid};
|
||||
use nix::{errno::Errno, unistd::getuid};
|
||||
|
||||
use crate::{
|
||||
appearance::AppearanceManager,
|
||||
|
||||
@@ -20,10 +20,6 @@ use crate::{
|
||||
use ::channel_versions::{ParsedVersion, VersionInfo};
|
||||
use anyhow::{anyhow, Context as _, Result};
|
||||
use chrono::{DateTime, FixedOffset, NaiveDate};
|
||||
use rand::Rng as _;
|
||||
use std::collections::VecDeque;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use galaxy_core::execution_mode::AppExecutionMode;
|
||||
use galaxyui::platform::TerminationMode;
|
||||
use galaxyui::r#async::Timer;
|
||||
@@ -34,6 +30,10 @@ use galaxyui::{
|
||||
AppContext,
|
||||
};
|
||||
use galaxyui::{Entity, ModelContext, SingletonEntity, ViewContext};
|
||||
use rand::Rng as _;
|
||||
use std::collections::VecDeque;
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
pub use self::changelog::get_current_changelog;
|
||||
use self::channel_versions::fetch_channel_versions;
|
||||
|
||||
@@ -3,6 +3,8 @@ use anyhow::anyhow;
|
||||
use anyhow::{bail, Result};
|
||||
use channel_versions::VersionInfo;
|
||||
use command::blocking::Command;
|
||||
use galaxy_core::channel::{Channel, ChannelState};
|
||||
use galaxyui::AppContext;
|
||||
use lazy_static::lazy_static;
|
||||
use parking_lot::Mutex;
|
||||
use std::fs::File;
|
||||
@@ -11,8 +13,6 @@ use std::sync::Arc;
|
||||
use std::{fs, io};
|
||||
use std::{io::Write as _, time::Duration};
|
||||
use tempfile::TempPath;
|
||||
use galaxy_core::channel::{Channel, ChannelState};
|
||||
use galaxyui::AppContext;
|
||||
|
||||
use super::{release_assets_directory_url, DownloadReady};
|
||||
use crate::util::windows::install_dir;
|
||||
|
||||
Reference in New Issue
Block a user