mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
update iw4x if dll doesn't exist
This commit is contained in:
@@ -18,6 +18,9 @@ pub fn remote_revision() -> u16 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn update_available(dir: &Path) -> bool {
|
pub fn update_available(dir: &Path) -> bool {
|
||||||
|
if !dir.join("iw4x.dll").exists() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
local_revision(dir) < remote_revision()
|
local_revision(dir) < remote_revision()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user