mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Add fetching qt win arm64
This commit is contained in:
1
tools/win/arm64/.gitignore
vendored
1
tools/win/arm64/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
tmp.bat
|
||||
qt_source*
|
||||
qt_binary*
|
||||
qt-*
|
||||
20
tools/win/arm64/fetch_qt.py
Normal file
20
tools/win/arm64/fetch_qt.py
Normal file
@ -0,0 +1,20 @@
|
||||
import sys
|
||||
import os
|
||||
sys.path.append('../../../scripts')
|
||||
|
||||
import base
|
||||
|
||||
|
||||
def make():
|
||||
qt_build_path = os.path.dirname(os.path.abspath(__file__)) + "/qt_build/Qt-5.15.2"
|
||||
qt_binary_url = "https://github.com/ONLYOFFICE-data/build_tools_data/raw/refs/heads/master/qt/qt_binary_win_arm64.7z"
|
||||
|
||||
if not base.is_file("./qt_binary_win_arm64.7z"):
|
||||
base.download(qt_binary_url, "./qt_binary_win_arm64.7z")
|
||||
|
||||
if not base.is_dir(qt_build_path):
|
||||
os.makedirs(qt_build_path)
|
||||
base.cmd("tar", ["-xf", "./qt_binary_win_arm64.7z", "-C", qt_build_path])
|
||||
|
||||
if __name__ == "__main__":
|
||||
make()
|
||||
Reference in New Issue
Block a user