Merge pull request #381 from diamante0018/update-url

[News] Update urls
This commit is contained in:
Dss0 2022-07-23 22:23:23 +02:00 committed by GitHub
commit cd1c172866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 19 deletions

View File

@ -57,17 +57,6 @@ namespace Components
Utils::OpenUrl(Utils::Cache::GetStaticUrl("")); Utils::OpenUrl(Utils::Cache::GetStaticUrl(""));
}); });
UIScript::Add("visitWiki", [](UIScript::Token)
{
//Utils::OpenUrl(Utils::Cache::GetStaticUrl("/wiki/"));
Utils::OpenUrl("https://github.com/Emosewaj/IW4x/wiki");
});
UIScript::Add("visitDiscord", [](UIScript::Token)
{
Utils::OpenUrl("https://discord.gg/sKeVmR3");
});
Localization::Set("MPUI_CHANGELOG_TEXT", "Loading..."); Localization::Set("MPUI_CHANGELOG_TEXT", "Loading...");
Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFAULT); Localization::Set("MPUI_MOTD_TEXT", NEWS_MOTD_DEFAULT);

View File

@ -6,14 +6,8 @@ namespace Utils
{ {
"https://xlabs.dev", "https://xlabs.dev",
"https://raw.githubusercontent.com/XLabsProject/iw4x-client" "https://raw.githubusercontent.com/XLabsProject/iw4x-client"
//Links to old onion site - deprecated
//"https://iw4xcachep26muba.tor2web.xyz",
//"https://iw4xcachep26muba.onion.ws",
//"https://iw4xcachep26muba.onion.sh",
//"https://iw4xcachep26muba.onion.pet",
}; };
std::string Cache::ValidUrl; std::string Cache::ValidUrl;
std::mutex Cache::CacheMutex; std::mutex Cache::CacheMutex;

View File

@ -123,7 +123,7 @@ namespace Utils
void SafeShellExecute(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd) void SafeShellExecute(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd)
{ {
[=]() [=]
{ {
__try __try
{ {