summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/client.rpy6
1 files changed, 4 insertions, 2 deletions
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