Skip to content

Commit

Permalink
Version 1.0 is now out of beta!
Browse files Browse the repository at this point in the history
git-svn-id: http://taiga.googlecode.com/svn/trunk@282 77add795-4bdf-f0f6-a574-f4d068491005
  • Loading branch information
erengy committed Mar 21, 2014
1 parent 339b633 commit ee9b3e5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions taiga.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include "win32/win_main.h"

#define APP_NAME L"Taiga"
#define APP_TITLE L"Taiga 1.0b"
#define APP_VERSION L"1.0.278 beta"
#define APP_BUILD L"2014-01-24"
#define APP_TITLE L"Taiga 1.0"
#define APP_VERSION L"1.0.282"
#define APP_BUILD L"2014-03-21"

#ifndef PORTABLE
#define PORTABLE
Expand Down
7 changes: 4 additions & 3 deletions update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ bool UpdateHelper::Check(win32::App& app) {

wstring address = L"taiga.erengy.com/update.php?";
std::map<wstring, wstring> parameters;
parameters[L"channel"] = L"stable";
parameters[L"username"] = Settings.Account.MAL.user;
parameters[L"version"] = APP_VERSION;
parameters[L"check"] = MainDialog.IsWindow() ? L"manual" : L"auto";
Expand Down Expand Up @@ -176,8 +177,8 @@ const GenericFeedItem* UpdateHelper::FindItem(const wstring& guid) const {
return nullptr;
}

unsigned long UpdateHelper::GetVersionValue(int major, int minor, int revision) const {
return (major * static_cast<unsigned long>(pow(10.0, 12))) +
(minor * static_cast<unsigned long>(pow(10.0, 8))) +
unsigned long long UpdateHelper::GetVersionValue(int major, int minor, int revision) const {
return (major * static_cast<unsigned long long>(pow(10.0, 12))) +
(minor * static_cast<unsigned long long>(pow(10.0, 8))) +
revision;
}
2 changes: 1 addition & 1 deletion update.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class UpdateHelper {
void SetDownloadPath(const wstring& path);

const GenericFeedItem* FindItem(const wstring& guid) const;
unsigned long GetVersionValue(int major, int minor, int revision) const;
unsigned long long GetVersionValue(int major, int minor, int revision) const;

HttpClient client;
vector<GenericFeedItem> items;
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_REVISION 278
#define VERSION_REVISION 282
#define VERSION_BUILD 0

#define VERSION_VALUE_DIGITAL VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down

0 comments on commit ee9b3e5

Please sign in to comment.