diff --git a/Gemfile b/Gemfile index 1c053c7..aa91633 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ source "https://rubygems.org" gem "cyberarm_engine" -gem "launchy" \ No newline at end of file +gem "launchy" +gem "async-websocket" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 6be255f..f18f9ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,24 +3,59 @@ GEM specs: addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) + async (1.30.1) + console (~> 1.10) + nio4r (~> 2.3) + timers (~> 4.1) + async-http (0.56.5) + async (>= 1.25) + async-io (>= 1.28) + async-pool (>= 0.2) + protocol-http (~> 0.22.0) + protocol-http1 (~> 0.14.0) + protocol-http2 (~> 0.14.0) + async-io (1.32.2) + async + async-pool (0.3.9) + async (>= 1.25) + async-websocket (0.19.0) + async-http (~> 0.54) + async-io (~> 1.23) + protocol-websocket (~> 0.7.0) clipboard (1.3.6) + console (1.14.0) + fiber-local cyberarm_engine (0.19.1) clipboard (~> 1.3.5) excon (~> 0.78.0) gosu (~> 1.1) gosu_more_drawables (~> 0.3) excon (0.78.1) + fiber-local (1.0.0) gosu (1.2.0) gosu_more_drawables (0.3.1) launchy (2.5.0) addressable (~> 2.7) + nio4r (2.5.8) + protocol-hpack (1.4.2) + protocol-http (0.22.5) + protocol-http1 (0.14.2) + protocol-http (~> 0.22) + protocol-http2 (0.14.2) + protocol-hpack (~> 1.4) + protocol-http (~> 0.18) + protocol-websocket (0.7.5) + protocol-http (~> 0.2) + protocol-http1 (~> 0.2) public_suffix (4.0.6) + timers (4.3.3) PLATFORMS x64-mingw32 x86_64-linux DEPENDENCIES + async-websocket cyberarm_engine launchy diff --git a/lib/pages/games.rb b/lib/pages/games.rb index 4b5c8ce..af4c860 100644 --- a/lib/pages/games.rb +++ b/lib/pages/games.rb @@ -34,7 +34,7 @@ class W3DHub flow(width: 1.0, height: 48) do stack(width: 0.3) - image "#{GAME_ROOT_PATH}/media/icons/#{game.id}.png", height: 48 + image "#{GAME_ROOT_PATH}/media/icons/#{game.id}.png", height: 48, color: window.application_manager.installed?(game.id, game.channels.first.id) ? 0xff_ffffff : 0xee_444444 end inscription game.name, width: 1.0, text_align: :center end