Readd MODRINTH_EXTERNAL_UPDATE_PROVIDER (#4444)

This commit is contained in:
Josiah Glosson
2025-09-29 12:17:23 -06:00
committed by GitHub
parent 324ad65d7c
commit bddc40e601
2 changed files with 2 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ fn is_dev() -> bool {
#[tauri::command]
fn are_updates_enabled() -> bool {
cfg!(feature = "updater")
&& env::var("MODRINTH_EXTERNAL_UPDATE_PROVIDER").is_err()
}
#[cfg(feature = "updater")]