Fixed Updater stuff
This commit is contained in:
parent
aa9eb148db
commit
7a628d761e
3 changed files with 11 additions and 9 deletions
|
@ -373,11 +373,13 @@ def download_deepsea_toolbox(module, temp_directory, deepsea_version, deepsea_bu
|
||||||
if app_path is None:
|
if app_path is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
common.mkdir(temp_directory.joinpath('switch/DeepSeaToolbox'))
|
common.mkdir(temp_directory.joinpath('switch/hekate-Toolbox'))
|
||||||
|
|
||||||
common.move(app_path, temp_directory.joinpath(
|
common.move(app_path, temp_directory.joinpath(
|
||||||
'switch/DeepSeaToolbox/DeepSeaToolbox.nro'))
|
'switch/hekate-Toolbox/DeepSea-Toolbox.nro'))
|
||||||
common.copy_module_file('deepsea-toolbox', 'config.json',
|
|
||||||
temp_directory.joinpath('switch/DeepSeaToolbox/config.json'))
|
common.copy_module_file('hekate-toolbox', 'config.json',
|
||||||
|
temp_directory.joinpath('switch/hekate-Toolbox/config.json'))
|
||||||
|
|
||||||
return get_version(module, release, 0)
|
return get_version(module, release, 0)
|
||||||
|
|
||||||
|
@ -388,13 +390,13 @@ def download_kosmos_updater(module, temp_directory, deepsea_version, deepsea_bui
|
||||||
if app_path is None:
|
if app_path is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
common.mkdir(temp_directory.joinpath('switch/KosmosUpdater'))
|
common.mkdir(temp_directory.joinpath('switch/DeepSea-Updater'))
|
||||||
common.move(app_path, temp_directory.joinpath(
|
common.move(app_path, temp_directory.joinpath(
|
||||||
'switch/KosmosUpdater/KosmosUpdater.nro'))
|
'switch/DeepSea-Updater/DeepSeaUpdater.nro'))
|
||||||
common.copy_module_file('kosmos-updater', 'internal.db',
|
common.copy_module_file('deepsea-updater', 'internal.db',
|
||||||
temp_directory.joinpath('switch/KosmosUpdater/internal.db'))
|
temp_directory.joinpath('switch/DeepSea-Updater/internal.db'))
|
||||||
common.sed('DEEPSEA_VERSION', deepsea_version,
|
common.sed('DEEPSEA_VERSION', deepsea_version,
|
||||||
temp_directory.joinpath('switch/KosmosUpdater/internal.db'))
|
temp_directory.joinpath('switch/DeepSea-Updater/internal.db'))
|
||||||
|
|
||||||
return get_version(module, release, 0)
|
return get_version(module, release, 0)
|
||||||
|
|
||||||
|
|
Reference in a new issue