Add lots of type hints, fix some bugs, and clean up some code
Compare changes
+ 19
− 8
@@ -21,13 +21,13 @@ import pmb.chroot.initfs
@@ -41,7 +41,7 @@ def system_image(device: str):
@@ -55,7 +55,7 @@ def create_second_storage(args: PmbArgs, device: str):
@@ -97,7 +97,13 @@ def create_gdk_loader_cache(args: PmbArgs) -> Path:
@@ -139,6 +145,11 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2
@@ -218,7 +229,7 @@ def command_qemu(args: PmbArgs, config: Config, arch: Arch, img_path, img_path_2
@@ -319,7 +330,7 @@ def sigterm_handler(number, frame):
@@ -358,7 +369,7 @@ def install_depends(args: PmbArgs, arch: Arch):