mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
- Add `codex app <path>` to launch the Codex Desktop app. - On macOS, auto-downloads the DMG if missing; non-macOS prints a link to chatgpt.com/codex.
12 lines
316 B
Rust
12 lines
316 B
Rust
#[cfg(target_os = "macos")]
|
|
mod mac;
|
|
|
|
/// Run the app install/open logic for the current OS.
|
|
#[cfg(target_os = "macos")]
|
|
pub async fn run_app_open_or_install(
|
|
workspace: std::path::PathBuf,
|
|
download_url: String,
|
|
) -> anyhow::Result<()> {
|
|
mac::run_mac_app_open_or_install(workspace, download_url).await
|
|
}
|