mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
Fix build on Linux
This commit is contained in:
parent
2db81211c8
commit
382b175db2
2 changed files with 3 additions and 4 deletions
|
@ -10,8 +10,7 @@ def resolve(arch):
|
|||
elif os.environ.get('QT') is None:
|
||||
print('Choosing Qt 5.')
|
||||
os.environ['QT'] = '5.15.13'
|
||||
else:
|
||||
print('Choosing Qt ' + os.environ.get('QT'))
|
||||
else:
|
||||
elif os.environ.get('QT') is None:
|
||||
return False
|
||||
print('Choosing Qt ' + os.environ.get('QT'))
|
||||
return True
|
||||
|
|
|
@ -46,7 +46,7 @@ elif officialTarget in ['win64', 'uwp64']:
|
|||
elif officialTarget in ['winarm', 'uwparm']:
|
||||
arch = 'arm'
|
||||
if not qt_version.resolve(arch):
|
||||
error('Usupported platform.')
|
||||
error('Unsupported platform.')
|
||||
|
||||
if 'qt6' in arguments:
|
||||
arguments.remove('qt6')
|
||||
|
|
Loading…
Add table
Reference in a new issue