import os, subprocess from pathlib import Path from clishared import cli_patch_rom, cli_choose_patches print("ThinkPad X230 Bios Patcher v1") project_name = input("Where is your project folder? ") project_name = project_name.replace("\\", "") # Remove backslashes so I can drag and drop folders project_path = Path(project_name).resolve() patched_path = project_path / "patched" clean_path = project_path / "clean" if not patched_path.exists(): patched_path.mkdir() patches = cli_choose_patches() cli_patch_rom(patches, clean_path, patched_path)