From 40c41ef24f7783f6d890614cc108e2e3fe94440e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 9 May 2021 14:29:01 -0300 Subject: Windows prefer backslashes so give 'em that. --- game/client.rpy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'game') diff --git a/game/client.rpy b/game/client.rpy index 5137fb3..e45d4ef 100644 --- a/game/client.rpy +++ b/game/client.rpy @@ -144,9 +144,11 @@ init 1 python: if launch: if renpy.linux: os.environ["APPIMAGELAUNCHER_DISABLE"]="1" - return get_path("manaplus")+"/ManaPlus.AppImage" + pathy=get_path("manaplus")+"/ManaPlus.AppImage" + return pathy.replace(" ", "\\ ") elif renpy.windows: - return get_path("manaplus")+"/Mana/manaplus.exe" + pathy=get_path("manaplus")+"/Mana/manaplus.exe" + return pathy.replace("/", "\\") else: stdout("Invalid Plataform!") return False -- cgit v1.2.3-70-g09d2