diff --git a/src/CslFrame.cpp b/src/CslFrame.cpp index 0ef688b..1ff6f53 100644 --- a/src/CslFrame.cpp +++ b/src/CslFrame.cpp @@ -1202,7 +1202,7 @@ wxString CslFrame::CheckVersion(wxInputStream& input) wxString::Format(_("A new %s version (%s)\n of Cube Server Lister is available.\n"), type.c_str(), version.c_str()), wxArtProvider::GetBitmap(wxART_INFORMATION ,wxART_CMN_DIALOG), - CSL_WEBADDR_STR); + wxString(CSL_WEBADDR_STR "/releases")); dlg->Show(); return wxString::Format(_("New version %s"), version.c_str()); @@ -1226,7 +1226,7 @@ void CslFrame::InitProtocolInputs() m_protocolInputCookies.push_back( new CslProtocolInputCookie(CslProtocolInputCookie::VERSION_CHECK, - wxString(CSL_WEBADDR_STR wxT("/latest.txt")), + wxString(CSL_WEBSITE_STR wxT("/latest.txt")), //wxString(wxT("http://localhost/latest.txt")), wxFileName(), wxString::Format(_("Checking for new %s version."), CSL_NAME_SHORT_STR), diff --git a/src/engine/CslVersion.h b/src/engine/CslVersion.h index 45b79ad..5d47b40 100644 --- a/src/engine/CslVersion.h +++ b/src/engine/CslVersion.h @@ -49,7 +49,9 @@ #define CSL_DESCRIPTION_STR _("Tool to monitor cubeengine-based servers.") #define CSL_COPYRIGHT_STR _(__CSL_DESCRIPTION_STR) -#define CSL_WEBADDR_STR wxT("http://cubelister.sourceforge.net") +//#define CSL_WEBADDR_STR wxT("http://cubelister.sourceforge.net") +#define CSL_WEBADDR_STR wxT("https://github.com/aurhat/cubelister") +#define CSL_WEBSITE_STR wxT("http://aurhat.github.io/cubelister") #ifdef UNICODE #if wxUSE_UNICODE_UTF8