From 7a806a0018e8ba34612da8b845646ebe345d78c0 Mon Sep 17 00:00:00 2001 From: Nichole Mattera <697668+NicholeMattera@users.noreply.github.com> Date: Sun, 19 Apr 2020 13:02:31 -0400 Subject: [PATCH] Fixed emuiibo --- Builder/modules.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Builder/modules.py b/Builder/modules.py index b5f27c7..ba8ef5a 100644 --- a/Builder/modules.py +++ b/Builder/modules.py @@ -199,8 +199,10 @@ def download_emuiibo(module, temp_directory, kosmos_version, kosmos_build): common.delete_path(bundle_path) common.mkdir(os.path.join(temp_directory, 'atmosphere', 'contents')) - shutil.move(os.path.join(temp_directory, 'contents', '0100000000000352'), os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352')) - common.delete_path(os.path.join(temp_directory, 'contents')) + shutil.move(os.path.join(temp_directory, 'SdOut', 'atmosphere', 'contents', '0100000000000352'), os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352')) + common.mkdir(os.path.join(temp_directory, 'switch', '.overlays')) + shutil.move(os.path.join(temp_directory, 'SdOut', 'switch', '.overlays', 'emuiibo.ovl'), os.path.join(temp_directory, 'switch', '.overlays', 'emuiibo.ovl')) + common.delete_path(os.path.join(temp_directory, 'SdOut')) if kosmos_build: common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352', 'flags', 'boot2.flag')) common.copy_module_file('emuiibo', 'toolbox.json', os.path.join(temp_directory, 'atmosphere', 'contents', '0100000000000352', 'toolbox.json'))