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:
Generated
+1
-1
@@ -148,7 +148,7 @@ checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
|
||||
|
||||
[[package]]
|
||||
name = "boilr"
|
||||
version = "1.3.13"
|
||||
version = "1.3.14"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"chrono",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "boilr"
|
||||
version = "1.3.13"
|
||||
version = "1.3.14"
|
||||
|
||||
[dependencies]
|
||||
base64 = "^0.13.0"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user