fix launcher glibc version check

This commit is contained in:
llama 2025-07-04 18:32:06 +08:00
parent 2594dcb2bb
commit 9a266737d1
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -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.");
}