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
|
||||
|
||||
def prepare_titles(self, paths: 'List[PathLike]'):
|
||||
if self.seeddb:
|
||||
load_seeddb(self.seeddb)
|
||||
|
||||
readers = []
|
||||
for path in paths:
|
||||
self.log(f'Reading {path}')
|
||||
@@ -378,9 +381,6 @@ class CustomInstall:
|
||||
self.log(l)
|
||||
return None, False, 0
|
||||
|
||||
if self.seeddb:
|
||||
load_seeddb(self.seeddb)
|
||||
|
||||
install_state = {'installed': [], 'failed': []}
|
||||
|
||||
# Now loop through all provided cia files
|
||||
|
||||
Reference in New Issue
Block a user