From 64165847767026582f87923cec3ee7d54134b975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 9 Mar 2025 12:55:17 +0300 Subject: [PATCH] =?UTF-8?q?*=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=84=D0=BB=D0=B0=D0=B3=20mirror=20=D0=B2=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B7=D0=BE=D0=B2=20get=5Fsources=20*=20=D0=B4=D0=BE?= =?UTF-8?q?=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D0=B0=D1=8F=20mirror=20(=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portproton.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portproton.py b/portproton.py index c1140dc..0781378 100755 --- a/portproton.py +++ b/portproton.py @@ -12,6 +12,8 @@ from modules.source_fetcher import * tmp_path = tempfile.gettempdir() + "/portproton" +mirror = True + work_path = get_env_var("USER_WORK_PATH") data_path = work_path + "/data" @@ -35,7 +37,7 @@ if __name__ == "__main__": case "--get-wine": # без аргументов сохраняем список доступных в tmp_path/get_wine.tmp и выводим в терминал # если есть аргумент (например WINE_LG_10-1) то обновляем и парсим tmp_path/get_wine.tmp с последующим скачиванием - get_sources(sys.argv[2:], tmp_path, dist_path) + get_sources(sys.argv[2:], tmp_path, dist_path, mirror) case "--get-dxvk": # без аргументов сохраняем список доступных в tmp_path/get_dxvk.tmp и выводим в терминал # если есть аргумент (например 2.5.3-31) то обновляем и парсим tmp_path/get_dxvk.tmp с последующим скачиванием