Skip to content

Commit

Permalink
Trying to fix Humble Bundle access token extraction
Browse files Browse the repository at this point in the history
Former-commit-id: 3a8a79c
  • Loading branch information
tkashkin committed Aug 6, 2018
1 parent 2bfb8a4 commit 1fbf5ae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
5 changes: 5 additions & 0 deletions data/com.github.tkashkin.gamehub.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
</screenshots>

<releases>
<release type="development" version="0.6.3" date="2018-08-06">
<description>
<p>Trying to fix Humble Bundle access token extraction</p>
</description>
</release>
<release type="development" version="0.6.2" date="2018-07-25">
<description>
<p>Search crash fix and UI improvements</p>
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
com.github.tkashkin.gamehub (0.6.3) xenial; urgency=low

* Trying to fix Humble Bundle access token extraction

-- tkashkin <[email protected]> Mon, 06 Aug 2018 12:20:11 +0300

com.github.tkashkin.gamehub (0.6.2) xenial; urgency=low

* Search crash fix and UI improvements
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('com.github.tkashkin.gamehub', 'vala', 'c', version: '0.6.2')
project('com.github.tkashkin.gamehub', 'vala', 'c', version: '0.6.3')

i18n = import('i18n')
gnome = import('gnome')
Expand Down
4 changes: 2 additions & 2 deletions src/data/sources/humble/Humble.vala
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ namespace GameHub.Data.Sources.Humble

wnd.finished.connect(token =>
{
user_token = token;
user_token = token.replace("\"", "");
settings.access_token = user_token ?? "";
debug("[Auth] Humble access token: %s", token);
debug("[Auth] Humble access token: %s", user_token);
Idle.add(get_token.callback);
});

Expand Down

0 comments on commit 1fbf5ae

Please sign in to comment.