From ea8bc05146badf6927735fd003bb76696c1e5d2f Mon Sep 17 00:00:00 2001 From: Pablo Curiel Date: Sun, 26 Nov 2023 22:12:23 +0100 Subject: [PATCH] utils: show Discord server link on keyset errors --- include/defines.h | 2 -- source/core/nxdt_utils.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/defines.h b/include/defines.h index 1cfb74f..5b9c3b9 100644 --- a/include/defines.h +++ b/include/defines.h @@ -133,6 +133,4 @@ #define DISCORD_SERVER_URL "https://discord.gg/SCbbcQx" -#define LOCKPICK_RCM_URL "https://github.com/shchmue/Lockpick_RCM" - #endif /* __DEFINES_H__ */ diff --git a/source/core/nxdt_utils.c b/source/core/nxdt_utils.c index 1db1595..9d16011 100644 --- a/source/core/nxdt_utils.c +++ b/source/core/nxdt_utils.c @@ -202,7 +202,7 @@ bool utilsInitializeResources(const int program_argc, const char **program_argv) /* Load keyset. */ if (!keysLoadKeyset()) { - LOG_MSG_ERROR("Failed to load keyset!\nUpdate your keys file with Lockpick_RCM:\n" LOCKPICK_RCM_URL); + LOG_MSG_ERROR("Failed to load keyset!\nPlease update your keys file with Lockpick_RCM.\nYou can get an updated build at:" DISCORD_SERVER_URL); break; }