Files
Starlight_Lancher/apps/app/src/updater_impl_noop.rs
T
AxTps 3c48ba77c9
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Sync LobeHub models / sync (push) Has been cancelled
change:移除了自动更新,预留了接口
2026-09-11 22:08:57 +08:00

32 lines
619 B
Rust

use crate::api::Result;
// Future update URL hook: keep a stable string slot for a user-provided
// launcher update endpoint without activating the built-in updater path.
pub const FUTURE_UPDATE_URL: &str = "";
#[derive(Default)]
pub struct PendingUpdateData(());
#[tauri::command]
pub fn check_app_update() -> Result<()> {
Ok(())
}
#[tauri::command]
pub fn get_update_size() -> Result<()> {
Ok(())
}
#[tauri::command]
pub fn enqueue_update_for_installation() -> Result<()> {
Ok(())
}
#[tauri::command]
pub fn remove_enqueued_update() {}
#[tauri::command]
pub fn is_apt_linux() -> bool {
false
}