These will take up quite a bit of space over time in
~/.local/share/waydroid/data/lineageos_updates/ and should be cleaned up
during the update process.
if os.path.exists(system_zip):
with zipfile.ZipFile(system_zip, 'r') as zip_ref:
zip_ref.extractall(args.images_path)
if os.path.exists(system_zip):
with zipfile.ZipFile(system_zip, 'r') as zip_ref:
zip_ref.extractall(args.images_path)
cfg["waydroid"]["system_datetime"] = str(system_time)
tools.config.save(args, cfg)
if os.path.exists(vendor_zip):
with zipfile.ZipFile(vendor_zip, 'r') as zip_ref:
zip_ref.extractall(args.images_path)
cfg["waydroid"]["system_datetime"] = str(system_time)
tools.config.save(args, cfg)
if os.path.exists(vendor_zip):
with zipfile.ZipFile(vendor_zip, 'r') as zip_ref:
zip_ref.extractall(args.images_path)
cfg["waydroid"]["vendor_datetime"] = str(vendor_time)
tools.config.save(args, cfg)
remove_overlay(args)
cfg["waydroid"]["vendor_datetime"] = str(vendor_time)
tools.config.save(args, cfg)
remove_overlay(args)