Format code

This commit is contained in:
Howard Wu 2023-04-11 05:06:10 +08:00
parent fd51bd872b
commit 6649117eeb

View File

@ -45,6 +45,7 @@ class Prop(OrderedDict):
def get(self, key: str) -> str:
return self[key]
logging.captureWarnings(True)
arch = sys.argv[1]
@ -121,6 +122,7 @@ if not download_dir.is_dir():
tmpdownlist = open(download_dir/tempScript, 'a')
def send_req(i, v, out_file, out_file_name):
out = session.post(
'https://fe3.delivery.mp.microsoft.com/ClientWebService/client.asmx/secured',
@ -136,6 +138,7 @@ def send_req(i, v, out_file, out_file_name):
tmpdownlist.writelines(f' dir={download_dir}\n')
tmpdownlist.writelines(f' out={out_file_name}\n')
threads = []
for filename, values in identities.items():
if re.match(f"Microsoft\.UI\.Xaml\..*_{arch}_.*\.appx", filename):