Merge pull request #381 from diamante0018/update-url
[News] Update urls
This commit is contained in:
commit
cd1c172866
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user