specify arch

This commit is contained in:
Ilya (Marshal) 2023-10-10 19:50:28 +02:00
parent de2786f6d9
commit 2a5f0122bb
No known key found for this signature in database
GPG key ID: F8FB1A006AD3156D

View file

@ -218,7 +218,7 @@ async def download_telegram_macos_beta_and_extract_resources(session: aiohttp.Cl
executable_path = os.path.join(client_folder_name, 'Telegram.app/Contents/MacOS/Telegram')
process = await asyncio.create_subprocess_exec(
f'strings', '-n', '7', '--', executable_path, stdout=asyncio.subprocess.PIPE
f'strings', '-n', '7', '-arch', 'x86_64', '--', executable_path, stdout=asyncio.subprocess.PIPE
)
stdout = b''