Create downloads dir if not exists

pull/1631/head v3.1.0
Piero Toffanin 2023-03-21 16:01:35 -04:00
rodzic 1d4827dd32
commit 4b3306ec9e
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -139,6 +139,9 @@ def dist():
print("You need to run configure.py build before you can run dist")
exit(1)
if not os.path.exists("SuperBuild\\download"):
os.mkdir("SuperBuild\\download")
# Download VC++ runtime
vcredist_path = os.path.join("SuperBuild", "download", "vc_redist.x64.zip")
if not os.path.isfile(vcredist_path):