diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-16 22:39:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-16 22:43:33 +0300 |
commit | 4f5e0e5863d869a5752fc485ac5f4457bd58404b (patch) | |
tree | e38b003e62c4672807b1f0679a86042343d31b84 /src/defaults.cpp | |
parent | b0a4559af43b45905d3689e94db87aaf3fa18fcd (diff) | |
download | plus-4f5e0e5863d869a5752fc485ac5f4457bd58404b.tar.gz plus-4f5e0e5863d869a5752fc485ac5f4457bd58404b.tar.bz2 plus-4f5e0e5863d869a5752fc485ac5f4457bd58404b.tar.xz plus-4f5e0e5863d869a5752fc485ac5f4457bd58404b.zip |
Move urls for client update into branding file.
New branding options:
androidDownloadUrl - url for android update.
androidDownloadText - text for android update link.
otherDownloadUrl - url for other os update.
otherDownloadText - text for other os update link.
windowsDownloadUrl - url for windows update.
windowsDownloadText - text for windows update link.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r-- | src/defaults.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp index 35fa277eb..2db7acd41 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -453,6 +453,15 @@ DefaultsData* getBrandingDefaults() AddDEF("wallpaperFile", ""); AddDEF("dataPath", ""); + + AddDEF("androidDownloadUrl", "https://play.google.com/store/apps/details" + "?id=org.evolonline.beta.manaplus"); + AddDEF("androidDownloadText", "Google Play"); + AddDEF("otherDownloadUrl", "http://manaplus.org/"); + AddDEF("otherDownloadText", "http://manaplus.org/"); + AddDEF("windowsDownloadUrl", "http://download.evolonline.org/" + "manaplus/download/manaplus-win32.exe"); + AddDEF("windowsDownloadText", "download here"); return configData; } |