mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
shelling out to 'ping' no longer spawns command prompts on windows
This commit is contained in:
@@ -68,6 +68,7 @@ end
|
||||
require "i18n"
|
||||
require "launchy"
|
||||
require "websocket-client-simple"
|
||||
require "English"
|
||||
|
||||
I18n.load_path << Dir["#{W3DHub::GAME_ROOT_PATH}/locales/*.yml"]
|
||||
I18n.default_locale = :en
|
||||
@@ -135,6 +136,8 @@ require_relative "lib/asterisk/states/game_form"
|
||||
require_relative "lib/asterisk/states/irc_profile_form"
|
||||
require_relative "lib/asterisk/states/server_profile_form"
|
||||
|
||||
require "win32/process" if W3DHub.windows?
|
||||
|
||||
logger.info(W3DHub::LOG_TAG) { "W3D Hub Linux Launcher v#{W3DHub::VERSION}" }
|
||||
|
||||
Thread.new do
|
||||
|
||||
Reference in New Issue
Block a user