diff --git a/.gitmodules b/.gitmodules index 53f94f9..c17eda3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -18,3 +18,7 @@ path = patches/images url = https://git.rayshift.io/kamihama/magia-client-image-patches branch = master +[submodule "patches/magia-en-apk-assets"] + path = patches/magia-en-apk-assets + url = https://git.rayshift.io/kamihama/magia-en-apk-assets + branch = master diff --git a/buildassets.py b/buildassets.py index b12fec3..7ab832e 100644 --- a/buildassets.py +++ b/buildassets.py @@ -20,7 +20,7 @@ def rmdir(directory): item.unlink() directory.rmdir() -en_path = "L:/MagiaReco/com.aniplex.magireco.en_1.2.0_checkonly-debugSigned/assets/package/" +en_path = os.path.dirname(os.path.realpath(__file__)) + "/patches/magia-en-apk-assets" jp_path = os.path.dirname(os.path.realpath(__file__)) + "/build/app/assets/package/" print("EN Path: " + en_path) print("JP Path: " + jp_path) diff --git a/patches/magia-en-apk-assets b/patches/magia-en-apk-assets new file mode 160000 index 0000000..228c623 --- /dev/null +++ b/patches/magia-en-apk-assets @@ -0,0 +1 @@ +Subproject commit 228c623dfbc40dce17897dfa9e8fdfa8a93cbf81