We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d29425c commit 0899e13Copy full SHA for 0899e13
1 file changed
games/baldursgate3/lslib_retriever.py
@@ -25,16 +25,19 @@ def _needed_lslib_files(self):
25
"Divine.dll.config",
26
"Divine.exe",
27
"Divine.runtimeconfig.json",
28
+ "K4os.Compression.LZ4.dll",
29
+ "K4os.Compression.LZ4.Streams.dll",
30
"LSLib.dll",
31
"LSLibNative.dll",
32
"LZ4.dll",
33
+ "Newtonsoft.Json.dll",
34
"System.IO.Hashing.dll",
35
"ZstdSharp.dll",
36
}
37
38
39
def download_lslib_if_missing(self, force: bool = False) -> bool:
- if not force and all(x.exists() for x in self._needed_lslib_files):
40
+ if not force and (self._utils.tools_dir / "Divine.exe").exists():
41
return True
42
try:
43
self._utils.tools_dir.mkdir(exist_ok=True, parents=True)
0 commit comments