Download codex-rs/cli/src/desktop_app/mod.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 700 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/cli/src/desktop_app/mod.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/cli/src/desktop_app/mod.rs
-
curl -L -o mod.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/cli/src/desktop_app/mod.rs
700 Bytes
| mod mac; | |
| mod windows; | |
| /// Run the app install/open logic for the current OS. | |
| pub async fn run_app_open_or_install( | |
| workspace: std::path::PathBuf, | |
| download_url_override: Option<String>, | |
| ) -> anyhow::Result<()> { | |
| mac::run_mac_app_open_or_install(workspace, download_url_override).await | |
| } | |
| /// Run the app install/open logic for the current OS. | |
| pub async fn run_app_open_or_install( | |
| workspace: std::path::PathBuf, | |
| download_url_override: Option<String>, | |
| ) -> anyhow::Result<()> { | |
| windows::run_windows_app_open_or_install(workspace, download_url_override).await | |
| } | |