mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix heroic games not being found
This commit is contained in:
@@ -20,9 +20,13 @@ pub struct HeroicGame {
|
||||
|
||||
impl HeroicGame {
|
||||
pub fn is_installed(&self) -> bool {
|
||||
Path::new(&self.install_path)
|
||||
.join(&self.executable)
|
||||
.exists()
|
||||
if self.launch_through_heroic {
|
||||
true
|
||||
} else {
|
||||
Path::new(&self.install_path)
|
||||
.join(&self.executable)
|
||||
.exists()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user