Skip to content

Commit

Permalink
Update build script and fix xenial build
Browse files Browse the repository at this point in the history
Former-commit-id: 0b81f04
  • Loading branch information
tkashkin committed Oct 16, 2018
1 parent 1436fe8 commit bea98ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

_GH_VERSION="0.11.3"
_GH_VERSION="0.11.5"

_ROOT="`pwd`"
_SCRIPTROOT="$(dirname "$(readlink -f "$0")")"
Expand Down Expand Up @@ -240,6 +240,7 @@ build_flatpak()
echo "[scripts/build.sh] Cloning flatpak manifest"
git clone https://github.com/tkashkin/GameHub.git --branch flatpak --recursive --depth=1 "manifest"
cd "manifest"
sed -i "s/\$BRANCH/$APPVEYOR_REPO_BRANCH/g" com.github.tkashkin.gamehub.json
echo "[scripts/build.sh] Autoinstalling dependencies"
flatpak-builder -y --user --install-deps-from=flathub --install-deps-only build com.github.tkashkin.gamehub.json
echo "[scripts/build.sh] Installing dependencies"
Expand Down
4 changes: 4 additions & 0 deletions src/ui/views/GamesView/GamesView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,11 @@ namespace GameHub.UI.Views.GamesView
var cards = games_grid.get_selected_children();
var card = cards != null && cards.length() > 0 ? cards.first().data as GameCard? : null;
if(card != null && games_filter(card.game)) return;
#if GTK_3_22
card = games_grid.get_child_at_pos(0, 0) as GameCard?;
#else
card = null;
#endif
if(card != null)
{
games_grid.select_child(card);
Expand Down

0 comments on commit bea98ff

Please sign in to comment.