Lines Matching refs:True
61 … result = subprocess.run(["npm", "install", "--prefix", dir_name], capture_output=True, text=True)
92 os.makedirs(os.path.dirname(dest_dir), exist_ok=True)
131 …subprocess.run(['sha256sum', package_lock_path], capture_output=True, text=True).stdout.strip().sp…
195 while True:
203 …t(f'\r[{"=" * int(progress)}{" " * (50 - int(progress))}] {progress * 2:.2f}%', end='', flush=True)
205 print("\r[Error] Total size is zero, unable to calculate progress.", end='', flush=True)
210 os.makedirs(destination_folder, exist_ok=True)
221 subprocess.run(command, check=True)
264 if download_flag == True:
305 download_flag = True
309 download_flag = True
325 parser.add_argument('--code_path', required=True, type=str, help='path of openharmony code')
326 parser.add_argument('--home_path', required=True, type=str, help='path of home')
327 …parser.add_argument('--config_file', required=True, type=str, help='path of prebuilts_config.json')
328 …parser.add_argument('--repo_https', required=True, type=str, default='https://repo.huaweicloud.com…
330 parser.add_argument('--target_os', required=True, type=str, help='type of os')