v15.5
This commit is contained in:
parent
29db8b59cf
commit
260c089056
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"name" : "sys-ftpd-light",
|
||||
"tid" : "420000000000000E",
|
||||
"requires_reboot": false
|
||||
}
|
0
Builder/builder.py
Normal file → Executable file
0
Builder/builder.py
Normal file → Executable file
|
@ -46,6 +46,9 @@ def delete_path(path):
|
|||
def copy_module_file(module_name, file_name, destination):
|
||||
return shutil.copyfile(os.path.join(os.getcwd(), 'Modules', module_name, file_name), destination)
|
||||
|
||||
def copy_module_folder(module_name, folder_name, destination):
|
||||
return shutil.copytree(os.path.join(os.getcwd(), 'Modules', module_name, folder_name), destination)
|
||||
|
||||
def find_file(pattern):
|
||||
return glob.glob(pattern, recursive=False)
|
||||
|
||||
|
|
|
@ -126,8 +126,10 @@ def download_atmosphere(module, temp_directory, kosmos_version, kosmos_build):
|
|||
|
||||
common.mkdir(os.path.join(temp_directory, 'bootloader', 'payloads'))
|
||||
shutil.move(payload_path, os.path.join(temp_directory, 'bootloader', 'payloads', 'fusee-primary.bin'))
|
||||
|
||||
common.copy_module_file('atmosphere', 'system_settings.ini', os.path.join(temp_directory, 'atmosphere', 'config', 'system_settings.ini'))
|
||||
|
||||
common.copy_module_folder('atmosphere', 'exefs_patches', os.path.join(temp_directory, 'atmosphere', 'exefs_patches'))
|
||||
|
||||
if not kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'hbmenu.nro'))
|
||||
|
||||
|
@ -376,7 +378,6 @@ def download_sys_ftpd_light(module, temp_directory, kosmos_version, kosmos_build
|
|||
common.delete_path(bundle_path)
|
||||
if kosmos_build:
|
||||
common.delete_path(os.path.join(temp_directory, 'atmosphere', 'contents', '420000000000000E', 'flags', 'boot2.flag'))
|
||||
common.copy_module_file('sys-ftpd-light', 'toolbox.json', os.path.join(temp_directory, 'atmosphere', 'contents', '420000000000000E', 'toolbox.json'))
|
||||
|
||||
return release.tag_name
|
||||
|
||||
|
|
Reference in a new issue