Actualizar picobuildWindows.py

This commit is contained in:
nix 2024-12-31 13:22:05 +00:00
parent e90e4c3d13
commit 86e9dc2451

View File

@ -85,5 +85,14 @@ def main():
create_folder(hsu_dest_path)
download_and_extract_repo(hsu_repo_url, hsu_dest_path)
# Step 5.1: Move "2hsu-main" contents to current directory and remove the folder
hsu_main_path = os.path.join(hsu_dest_path, "2hsu-main")
move_folder_content(hsu_main_path, os.getcwd())
# Step 5.2: Remove the "2hsu" folder after its contents are moved
if os.path.exists(hsu_dest_path):
os.rmdir(hsu_dest_path)
print(f"Removed folder: {hsu_dest_path}")
if __name__ == "__main__":
main()