mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
Fix Subnautica installer error (#157)
* Fix Subnautica installer error * Fix verification Tobey's BepInEx Pack v5.4.23
This commit is contained in:
@@ -32,6 +32,9 @@ class SubnauticaModDataChecker(BasicModDataChecker):
|
||||
"run_bepinex.sh",
|
||||
"winhttp.dll",
|
||||
"QMods",
|
||||
".doorstop_version", # Added in Tobey's BepInEx Pack for Subnautica v5.4.23
|
||||
"changelog.txt",
|
||||
"libdoorstop.dylib",
|
||||
],
|
||||
delete=[
|
||||
"*.txt",
|
||||
@@ -53,6 +56,10 @@ class SubnauticaModDataChecker(BasicModDataChecker):
|
||||
def dataLooksValid(
|
||||
self, filetree: mobase.IFileTree
|
||||
) -> mobase.ModDataChecker.CheckReturn:
|
||||
# fix: single root folders get traversed by Simple Installer
|
||||
parent = filetree.parent()
|
||||
if parent is not None and self.dataLooksValid(parent) is self.FIXABLE:
|
||||
return self.FIXABLE
|
||||
check_return = super().dataLooksValid(filetree)
|
||||
# A single unknown folder with a dll file in is to be moved to BepInEx/plugins/
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user