Make function public

This commit is contained in:
Philip Kristoffersen
2022-04-01 18:08:30 +02:00
parent 912350743a
commit 099912e57b
+1 -1
View File
@@ -14,7 +14,7 @@ pub struct HeroicGame {
} }
impl HeroicGame{ impl HeroicGame{
fn is_installed(&self) -> bool{ pub fn is_installed(&self) -> bool{
Path::new(&self.install_path).join(&self.executable).exists() Path::new(&self.install_path).join(&self.executable).exists()
} }
} }