From 99aa2516e07967fd381347e6689afc2d540a985c Mon Sep 17 00:00:00 2001 From: Alexey T Date: Thu, 5 Sep 2024 08:42:03 +0300 Subject: [PATCH] addonman: shorten temp filenames --- .../py/cuda_addonman/work_cudatext_updates__sourceforge.py | 2 +- .../Contents/Resources/py/cuda_addonman/work_remote.py | 2 +- app/py/cuda_addonman/work_cudatext_updates__sourceforge.py | 2 +- app/py/cuda_addonman/work_remote.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_cudatext_updates__sourceforge.py b/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_cudatext_updates__sourceforge.py index e3889ac52c2..869d0cad9f4 100644 --- a/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_cudatext_updates__sourceforge.py +++ b/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_cudatext_updates__sourceforge.py @@ -52,7 +52,7 @@ def versions_ordered(s1, s2): def check_cudatext(): - fn = os.path.join(get_temp_dir(), 'cudatext_download.html') + fn = os.path.join(get_temp_dir(), 'download.html') url = DOWNLOAD_PAGE app.msg_status(_('Downloading: ')+url, True) get_url(url, fn, True) diff --git a/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_remote.py b/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_remote.py index f6200d1308f..6b1fb9dd73e 100644 --- a/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_remote.py +++ b/app/cudatext.app/Contents/Resources/py/cuda_addonman/work_remote.py @@ -65,7 +65,7 @@ def is_file_html(fn): def get_plugin_zip(url): if not url: return - fn = os.path.join(get_temp_dir(), 'cudatext_addon.zip') + fn = os.path.join(get_temp_dir(), 'addon.zip') get_url(url, fn, True) if is_file_html(fn): diff --git a/app/py/cuda_addonman/work_cudatext_updates__sourceforge.py b/app/py/cuda_addonman/work_cudatext_updates__sourceforge.py index e3889ac52c2..869d0cad9f4 100644 --- a/app/py/cuda_addonman/work_cudatext_updates__sourceforge.py +++ b/app/py/cuda_addonman/work_cudatext_updates__sourceforge.py @@ -52,7 +52,7 @@ def versions_ordered(s1, s2): def check_cudatext(): - fn = os.path.join(get_temp_dir(), 'cudatext_download.html') + fn = os.path.join(get_temp_dir(), 'download.html') url = DOWNLOAD_PAGE app.msg_status(_('Downloading: ')+url, True) get_url(url, fn, True) diff --git a/app/py/cuda_addonman/work_remote.py b/app/py/cuda_addonman/work_remote.py index f6200d1308f..6b1fb9dd73e 100644 --- a/app/py/cuda_addonman/work_remote.py +++ b/app/py/cuda_addonman/work_remote.py @@ -65,7 +65,7 @@ def is_file_html(fn): def get_plugin_zip(url): if not url: return - fn = os.path.join(get_temp_dir(), 'cudatext_addon.zip') + fn = os.path.join(get_temp_dir(), 'addon.zip') get_url(url, fn, True) if is_file_html(fn):