Fix heroic games not being found

This commit is contained in:
Philip Kristoffersen
2022-05-30 13:52:39 +02:00
parent c2bbeefbd2
commit 0ab1f15da0
3 changed files with 9 additions and 5 deletions
Generated
+1 -1
View File
@@ -148,7 +148,7 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
[[package]]
name = "boilr"
version = "1.3.13"
version = "1.3.14"
dependencies = [
"base64",
"chrono",
+1 -1
View File
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "boilr"
version = "1.3.13"
version = "1.3.14"
[dependencies]
base64 = "^0.13.0"
+4
View File
@@ -20,11 +20,15 @@ pub struct HeroicGame {
impl HeroicGame {
pub fn is_installed(&self) -> bool {
if self.launch_through_heroic {
true
} else {
Path::new(&self.install_path)
.join(&self.executable)
.exists()
}
}
}
impl From<HeroicGame> for ShortcutOwned {
fn from(game: HeroicGame) -> Self {