{"record":{"id":"fc052b7be2516cbf","repo":"BigPizzaV3/CodexPlusPlus","slug":"codex-fc052b","errorCode":null,"errorMessage":"当前平台暂不支持卸载 Codex++ 入口","messagePattern":"当前平台暂不支持卸载 Codex\\+\\+ 入口","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/codex-plus-core/src/install/mod.rs","lineNumber":202,"sourceCode":"        anyhow::bail!(\"当前平台暂不支持安装 Codex++ 入口\")\n    }\n}\n\nfn platform_uninstall(options: &InstallOptions) -> anyhow::Result<()> {\n    #[cfg(windows)]\n    {\n        windows::uninstall_shortcuts(options)\n    }\n\n    #[cfg(target_os = \"macos\")]\n    {\n        macos::uninstall_app_bundles(options)\n    }\n\n    #[cfg(not(any(windows, target_os = \"macos\")))]\n    {\n        let _ = options;\n        anyhow::bail!(\"当前平台暂不支持卸载 Codex++ 入口\")\n    }\n}\n\nfn action_result(result: anyhow::Result<()>, success_message: &str) -> InstallActionResult {\n    let state = inspect_entrypoints();\n    match result {\n        Ok(()) => InstallActionResult {\n            status: \"ok\".to_string(),\n            message: success_message.to_string(),\n            silent_shortcut: state.silent_shortcut,\n            management_shortcut: state.management_shortcut,\n        },\n        Err(error) => InstallActionResult {\n            status: \"failed\".to_string(),\n            message: error.to_string(),\n            silent_shortcut: state.silent_shortcut,\n            management_shortcut: state.management_shortcut,\n        },","sourceCodeStart":184,"sourceCodeEnd":220,"githubUrl":"https://github.com/BigPizzaV3/CodexPlusPlus/blob/f2074595a281bc057525c748175c8eb9805b0673/crates/codex-plus-core/src/install/mod.rs#L184-L220","documentation":"Thrown by platform_uninstall on the non-Windows, non-macOS cfg fallback. Uninstalling Codex++ entry points has no implementation outside Windows/macOS, so uninstall_entrypoints on e.g. Linux always bails here; like the install twin, the trigger is the unsupported host platform rather than bad data.","triggerScenarios":"Thrown at crates/codex-plus-core/src/install/mod.rs:202 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["在 Windows 或 macOS 上执行卸载","Linux 等平台手动删除自行创建的启动项"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f2074595a281bc057525c748175c8eb9805b0673","analyzedAt":"2026-08-23T12:52:24.489Z","contentChangedAt":"2026-08-23T12:52:24.489Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}