update iw4x if dll doesn't exist

This commit is contained in:
mxve committed 2023-08-29 22:12:42 +02:00
1 parent afda8902df
commit 1f76f8529c
1 file changed
+3
+3
View File
@@ -18,6 +18,9 @@ pub fn remote_revision() -> u16 {
}
pub fn update_available(dir: &Path) -> bool {
if !dir.join("iw4x.dll").exists() {
return true;
}
local_revision(dir) < remote_revision()
}