summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-06-30 22:18:46 -0300
committerJesusaves <cpntb1@ymail.com>2023-06-30 22:18:46 -0300
commit3487d46fa34008a1273fd364a353dafbaa18087a (patch)
treee8b7672e5113ebc2d5daf91d5c580357d56b5e27
parent5734cb5d13395eea9a04ef42ecb053f9fa176921 (diff)
downloadrenpy-3487d46fa34008a1273fd364a353dafbaa18087a.tar.gz
renpy-3487d46fa34008a1273fd364a353dafbaa18087a.tar.bz2
renpy-3487d46fa34008a1273fd364a353dafbaa18087a.tar.xz
renpy-3487d46fa34008a1273fd364a353dafbaa18087a.zip
Preserve config on update
-rw-r--r--game/3rdparty/manaplus.rpy1
-rw-r--r--game/3rdparty/manaverse.rpy1
2 files changed, 2 insertions, 0 deletions
diff --git a/game/3rdparty/manaplus.rpy b/game/3rdparty/manaplus.rpy
index 0afe9b8..39dba52 100644
--- a/game/3rdparty/manaplus.rpy
+++ b/game/3rdparty/manaplus.rpy
@@ -72,6 +72,7 @@ init 1 python:
else:
status_update("ERROR: Unsupported Plataform")
return False
+ shutil.copytree(get_path('')+"Config", installdir+"/Config")
return True
###############################
diff --git a/game/3rdparty/manaverse.rpy b/game/3rdparty/manaverse.rpy
index 98f7d97..a65da63 100644
--- a/game/3rdparty/manaverse.rpy
+++ b/game/3rdparty/manaverse.rpy
@@ -85,6 +85,7 @@ init 1 python:
else:
status_update("ERROR: Unsupported Plataform")
return False
+ shutil.copytree(get_path('')+"Config", installdir+"/Config")
return True
###############################