Removed dependence on the bsdtar command, fixed Play Now button not doing anything if a server nickname wasn't set, refactor a bit so that the Server List's 'Join Server' button functionality can be reused for the Play Now button, installer now always unpacks into 'data/*' instead of 'Data/*'

This commit is contained in:
2022-12-02 14:12:45 -06:00
parent 19a15e937e
commit 55c0f363e0
8 changed files with 126 additions and 96 deletions

View File

@@ -7,6 +7,7 @@ require "rexml"
require "logger"
require "time"
require "base64"
require "zip"
class W3DHub
W3DHUB_DEBUG = ARGV.join.include?("--debug")
@@ -55,8 +56,8 @@ end
begin
require_relative "../cyberarm_engine/lib/cyberarm_engine"
rescue LoadError => e
logger.warn(W3D::LOG_TAG) { "Failed to load local cyberarm_engine:" }
logger.warn(W3D::LOG_TAG) { e }
logger.warn(W3DHub::LOG_TAG) { "Failed to load local cyberarm_engine:" }
logger.warn(W3DHub::LOG_TAG) { e }
require "cyberarm_engine"
end