summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-09 14:29:01 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-09 14:29:01 -0300
commit40c41ef24f7783f6d890614cc108e2e3fe94440e (patch)
tree2fe0458076be4b3069cc7a8c50972497e9dd357b
parent49fa27cb35a313d042328c298c6c0fa9cbd2752b (diff)
downloadrenpy-40c41ef24f7783f6d890614cc108e2e3fe94440e.tar.gz
renpy-40c41ef24f7783f6d890614cc108e2e3fe94440e.tar.bz2
renpy-40c41ef24f7783f6d890614cc108e2e3fe94440e.tar.xz
renpy-40c41ef24f7783f6d890614cc108e2e3fe94440e.zip
Windows prefer backslashes so give 'em that.
-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