mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-05 22:31:45 +00:00
custominstall: make boot9 and seeddb optional for CustomInstall.__init__ (for gui changes)
This commit is contained in:
@@ -191,8 +191,8 @@ def get_install_size(title: 'Union[CIAReader, CDNReader]'):
|
||||
|
||||
|
||||
class CustomInstall:
|
||||
def __init__(self, boot9, seeddb, movable, sd, cifinish_out=None,
|
||||
overwrite_saves=False, skip_contents=False):
|
||||
def __init__(self, *, movable, sd, cifinish_out=None, overwrite_saves=False, skip_contents=False,
|
||||
boot9=None, seeddb=None):
|
||||
self.event = Events()
|
||||
self.log_lines = [] # Stores all info messages for user to view
|
||||
|
||||
@@ -329,6 +329,7 @@ class CustomInstall:
|
||||
|
||||
sd_path = join(sd_path, id1s[0])
|
||||
|
||||
if self.seeddb:
|
||||
load_seeddb(self.seeddb)
|
||||
|
||||
install_state = {'installed': [], 'failed': []}
|
||||
|
||||
Reference in New Issue
Block a user