first pass of merging in warp (doesn't build)

This commit is contained in:
Ryan Ward
2026-07-01 16:08:58 -05:00
parent 2f64909469
commit 4770ac06b5
3662 changed files with 414574 additions and 89772 deletions
+8 -7
View File
@@ -1,11 +1,11 @@
use crate::{
auth::auth_state::AuthState,
send_telemetry_on_executor,
server::telemetry::{DownloadSource, TelemetryEvent},
};
use galaxyui::r#async::executor::Background;
use std::sync::Arc;
use galaxyui::r#async::executor::Background;
use crate::auth::auth_state::AuthState;
use crate::send_telemetry_on_executor;
use crate::server::telemetry::{DownloadSource, TelemetryEvent};
/// Determine the Warp download method (if possible) and send a telemetry event reporting that
/// method
pub fn determine_and_report(auth_state: Arc<AuthState>, executor: Arc<Background>) {
@@ -35,7 +35,8 @@ pub fn determine_and_report(auth_state: Arc<AuthState>, executor: Arc<Background
/// as being from the Warp website.
#[cfg(target_os = "macos")]
async fn check_download_source() -> DownloadSource {
use std::{env, process::Stdio};
use std::env;
use std::process::Stdio;
// By default when launching an app, the PATH is very limited and doesn't include the locations
// into which Homebrew installs itself. To make sure we can accurately call `brew`, we need to