[News] Update urls

This commit is contained in:
Diavolo 2022-07-21 21:30:44 +02:00
parent da61ab42ec
commit 61463cc9e7
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
3 changed files with 3 additions and 10 deletions

View File

@ -59,8 +59,7 @@ namespace Components
UIScript::Add("visitWiki", [](UIScript::Token)
{
//Utils::OpenUrl(Utils::Cache::GetStaticUrl("/wiki/"));
Utils::OpenUrl("https://github.com/Emosewaj/IW4x/wiki");
Utils::OpenUrl(Utils::Cache::GetStaticUrl("/iw4x_faq"));
});
UIScript::Add("visitDiscord", [](UIScript::Token)

View File

@ -6,14 +6,8 @@ namespace Utils
{
"https://xlabs.dev",
"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::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)
{
[=]()
[=]
{
__try
{