X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/b937804ecdbe1839cc4dae232c4cbf430c4262f1..e757fdc6a5b7e75117ead1a108fccaace1352bbb:/tools/helpers/images.py?ds=sidebyside diff --git a/tools/helpers/images.py b/tools/helpers/images.py index eb9e268..65a7ea5 100644 --- a/tools/helpers/images.py +++ b/tools/helpers/images.py @@ -87,11 +87,13 @@ def replace(args, system_zip, system_time, vendor_zip, vendor_time): if os.path.exists(system_zip): with zipfile.ZipFile(system_zip, 'r') as zip_ref: zip_ref.extractall(args.images_path) + os.remove(system_zip) 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) + os.remove(vendor_zip) cfg["waydroid"]["vendor_datetime"] = str(vendor_time) tools.config.save(args, cfg) remove_overlay(args)