From 1dc80e9202a4bed07a494b52fa37990348462eef Mon Sep 17 00:00:00 2001 From: Maximus5 Date: Sun, 23 Jul 2023 13:37:32 +0200 Subject: [PATCH] Internal. Set github as a primary download mirror --- Deploy/l10n_refresh.cmd | 1 + src/ConEmu/ConEmu.cpp | 2 +- src/ConEmu/Header.h | 2 +- src/ConEmu/UpdateConst.h | 4 ++-- src/common/Common.h | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Deploy/l10n_refresh.cmd b/Deploy/l10n_refresh.cmd index 2cde7a085f..e94ce5b12f 100644 --- a/Deploy/l10n_refresh.cmd +++ b/Deploy/l10n_refresh.cmd @@ -14,6 +14,7 @@ pushd "%~dp0.." set L10N_PATH=Release/ConEmu/ConEmu.l10n +echo Calling "%PYTHON3%" "%~dp0l10n.py" --l10n %L10N_PATH% --tx-pull all --write-l10n call "%PYTHON3%" "%~dp0l10n.py" --l10n %L10N_PATH% --tx-pull all --write-l10n if errorlevel 1 ( echo Failed to load updated translations from transifex diff --git a/src/ConEmu/ConEmu.cpp b/src/ConEmu/ConEmu.cpp index a25432f107..4404a0bf2f 100644 --- a/src/ConEmu/ConEmu.cpp +++ b/src/ConEmu/ConEmu.cpp @@ -157,7 +157,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //#define CONEMU_ANIMATE_DURATION_MAX 5000 const wchar_t* gsHomePage = CEHOMEPAGE; //L"https://conemu.github.io"; -const wchar_t* gsDownlPage = CEDOWNLPAGE; //L"https://www.fosshub.com/ConEmu.html"; +const wchar_t* gsDownlPage = CEDOWNLPAGE; //L"https://conemu.github.io/en/Downloads.html"; const wchar_t* gsFirstStart = CEFIRSTSTART; //L"https://conemu.github.io/en/SettingsFast.html"; const wchar_t* gsReportBug = CEREPORTBUG; //L"https://conemu.github.io/en/Issues.html"; const wchar_t* gsReportCrash = CEREPORTCRASH; //L"https://conemu.github.io/en/Issues.html"; diff --git a/src/ConEmu/Header.h b/src/ConEmu/Header.h index e063ec3d6a..0fdbcf4339 100644 --- a/src/ConEmu/Header.h +++ b/src/ConEmu/Header.h @@ -539,7 +539,7 @@ bool CheckLockFrequentExecute(DWORD& Tick, DWORD Interval); #define LockFrequentExecuteStatic(Interval) static DWORD LastExecuteTick; if (CheckLockFrequentExecute(LastExecuteTick,Interval)) extern const wchar_t* gsHomePage; // = L"https://conemu.github.io"; -extern const wchar_t* gsDownlPage; // = L"http://www.fosshub.com/ConEmu.html"; +extern const wchar_t* gsDownlPage; // = L"https://conemu.github.io/en/Downloads.html"; extern const wchar_t* gsFirstStart; // = L"https://conemu.github.io/en/SettingsFast.html"; extern const wchar_t* gsReportBug; // = L"https://conemu.github.io/en/Issues.html"; extern const wchar_t* gsReportCrash; // = L"https://conemu.github.io/en/Issues.html"; diff --git a/src/ConEmu/UpdateConst.h b/src/ConEmu/UpdateConst.h index c746a23580..1278a64b05 100644 --- a/src/ConEmu/UpdateConst.h +++ b/src/ConEmu/UpdateConst.h @@ -44,11 +44,11 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #define szRetryVersionIniCheck \ L"ConEmu is unable to load current version information from servers.\n" \ L"You may either check and download new versions manually from\n" \ - CEDOWNLPAGE /* http://www.fosshub.com/ConEmu.html */ L"\n" \ + CEDOWNLPAGE /* https://conemu.github.io/en/Downloads.html */ L"\n" \ L"or let ConEmu retry the check.\n" #define szRetryPackageDownload \ L"ConEmu is unable to download update package.\n" \ L"You may either download new versions manually from\n" \ - CEDOWNLPAGE /* http://www.fosshub.com/ConEmu.html */ L"\n" \ + CEDOWNLPAGE /* https://conemu.github.io/en/Downloads.html */ L"\n" \ L"or let ConEmu retry the downloading.\n" diff --git a/src/common/Common.h b/src/common/Common.h index 4035d09859..c0e345e1e5 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -125,7 +125,7 @@ typedef struct _CONSOLE_SELECTION_INFO #define CEHOMEPAGE_A "https://conemu.github.io/" #define CEHOMEPAGE _CRT_WIDE(CEHOMEPAGE_A) -#define CEDOWNLPAGE L"https://www.fosshub.com/ConEmu.html" +#define CEDOWNLPAGE L"https://conemu.github.io/en/Downloads.html" #define CEFLATTRPAGE L"http://flattr.com/thing/2002773/Maximus5ConEmu-on-GitHub" #define CEDONATEPAGE L"https://conemu.github.io/donate.html" #define CEWIKIBASE L"https://conemu.github.io/en/"