From cedece5cae0c3d3ba1347b31192b3b266e64edbf Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 4 Jul 2025 17:20:05 +0700 Subject: [PATCH] Fix glibc version check in Linux installer I'd changed it for testing, and accidentally committed it. --- qt/launcher/src/platform/unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/launcher/src/platform/unix.rs b/qt/launcher/src/platform/unix.rs index 235919106..0df33838f 100644 --- a/qt/launcher/src/platform/unix.rs +++ b/qt/launcher/src/platform/unix.rs @@ -90,7 +90,7 @@ pub fn ensure_glibc_supported() -> Result<()> { }; let (major, minor) = get_glibc_version().unwrap_or_default(); - if major < 3 || (major == 2 && minor < 36) { + if major < 2 || (major == 2 && minor < 36) { anyhow::bail!("Anki requires a modern Linux distro with glibc 2.36 or later."); }