We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67cdd4f commit 45359c5Copy full SHA for 45359c5
1 file changed
games/game_sts2.py
@@ -30,7 +30,7 @@ def __init__(self):
30
class SlayTheSpire2Game(BasicGame):
31
Name = "Slay the Spire 2 Support Plugin"
32
Author = "Azlle"
33
- Version = "1.0.0"
+ Version = "1.0.1"
34
35
GameName = "Slay the Spire 2"
36
GameShortName = "slaythespire2"
@@ -46,6 +46,11 @@ def init(self, organizer: mobase.IOrganizer) -> bool:
46
self._register_feature(SlayTheSpire2ModDataChecker())
47
return True
48
49
+ def initializeProfile(self, directory: QDir, settings: mobase.ProfileSetting):
50
+ mods_path = Path(self.dataDirectory().absolutePath())
51
+ mods_path.mkdir(exist_ok=True)
52
+ super().initializeProfile(directory, settings)
53
+
54
def savesDirectory(self) -> QDir:
55
docs = QDir(self.documentsDirectory())
56
steam_dir = Path(docs.absoluteFilePath("steam"))
0 commit comments