summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/client.rpy5
-rw-r--r--game/core.rpy4
2 files changed, 6 insertions, 3 deletions
diff --git a/game/client.rpy b/game/client.rpy
index 30665ed..38d8e6e 100644
--- a/game/client.rpy
+++ b/game/client.rpy
@@ -200,7 +200,10 @@ init 2 python:
## Ours
try:
- md5us=md5sum(fname) #(installdir+"/%s" % fname)
+ if renpy.windows:
+ md5us=md5sum(fname)
+ else:
+ md5us=md5sum(installdir+"/%s" % fname)
if md5up != md5us:
stdout("MD5 Mismatch: hashes differ", True)
stdout("Ours: %s" % md5us, True)
diff --git a/game/core.rpy b/game/core.rpy
index 5f5c292..8dbd79e 100644
--- a/game/core.rpy
+++ b/game/core.rpy
@@ -29,12 +29,12 @@ init -3 python:
# This is Python 3.x
execute=subprocess.run
LEGACY = False
- print("Python 3.x detected! Version is %d. Compatibility mode enabled!" % PYTHON_VERSION)
+ print("Python 3.x detected! Version is %d." % PYTHON_VERSION)
else:
# This is Python 2.7
execute=subprocess.call
LEGACY = True
- print("Python 2.7 detected! Setting legacy mode... (ver: %d)" % PYTHON_VERSION)
+ print("Python 2.7 detected! Compatibility mode enabled! (ver: %d)" % PYTHON_VERSION)
#############################################################################
# Functions