mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-15 16:52:34 +00:00
Added async-websocket gem, made game button icon greyed out if not installed
This commit is contained in:
3
Gemfile
3
Gemfile
@@ -1,4 +1,5 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "cyberarm_engine"
|
gem "cyberarm_engine"
|
||||||
gem "launchy"
|
gem "launchy"
|
||||||
|
gem "async-websocket"
|
||||||
35
Gemfile.lock
35
Gemfile.lock
@@ -3,24 +3,59 @@ GEM
|
|||||||
specs:
|
specs:
|
||||||
addressable (2.8.0)
|
addressable (2.8.0)
|
||||||
public_suffix (>= 2.0.2, < 5.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)
|
clipboard (1.3.6)
|
||||||
|
console (1.14.0)
|
||||||
|
fiber-local
|
||||||
cyberarm_engine (0.19.1)
|
cyberarm_engine (0.19.1)
|
||||||
clipboard (~> 1.3.5)
|
clipboard (~> 1.3.5)
|
||||||
excon (~> 0.78.0)
|
excon (~> 0.78.0)
|
||||||
gosu (~> 1.1)
|
gosu (~> 1.1)
|
||||||
gosu_more_drawables (~> 0.3)
|
gosu_more_drawables (~> 0.3)
|
||||||
excon (0.78.1)
|
excon (0.78.1)
|
||||||
|
fiber-local (1.0.0)
|
||||||
gosu (1.2.0)
|
gosu (1.2.0)
|
||||||
gosu_more_drawables (0.3.1)
|
gosu_more_drawables (0.3.1)
|
||||||
launchy (2.5.0)
|
launchy (2.5.0)
|
||||||
addressable (~> 2.7)
|
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)
|
public_suffix (4.0.6)
|
||||||
|
timers (4.3.3)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
x64-mingw32
|
x64-mingw32
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
async-websocket
|
||||||
cyberarm_engine
|
cyberarm_engine
|
||||||
launchy
|
launchy
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ class W3DHub
|
|||||||
|
|
||||||
flow(width: 1.0, height: 48) do
|
flow(width: 1.0, height: 48) do
|
||||||
stack(width: 0.3)
|
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
|
end
|
||||||
inscription game.name, width: 1.0, text_align: :center
|
inscription game.name, width: 1.0, text_align: :center
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user