mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-05 22:31:45 +00:00
custominstall: fix --seeddb by loading it earlier
This commit is contained in:
@@ -249,6 +249,9 @@ class CustomInstall:
|
|||||||
return reader
|
return reader
|
||||||
|
|
||||||
def prepare_titles(self, paths: 'List[PathLike]'):
|
def prepare_titles(self, paths: 'List[PathLike]'):
|
||||||
|
if self.seeddb:
|
||||||
|
load_seeddb(self.seeddb)
|
||||||
|
|
||||||
readers = []
|
readers = []
|
||||||
for path in paths:
|
for path in paths:
|
||||||
self.log(f'Reading {path}')
|
self.log(f'Reading {path}')
|
||||||
@@ -378,9 +381,6 @@ class CustomInstall:
|
|||||||
self.log(l)
|
self.log(l)
|
||||||
return None, False, 0
|
return None, False, 0
|
||||||
|
|
||||||
if self.seeddb:
|
|
||||||
load_seeddb(self.seeddb)
|
|
||||||
|
|
||||||
install_state = {'installed': [], 'failed': []}
|
install_state = {'installed': [], 'failed': []}
|
||||||
|
|
||||||
# Now loop through all provided cia files
|
# Now loop through all provided cia files
|
||||||
|
|||||||
Reference in New Issue
Block a user