Comment out a few debug prints

This commit is contained in:
2026-09-04 20:53:05 -05:00
parent 8333c7b00d
commit b589a3dc1b
5 changed files with 7 additions and 6 deletions

View File

@@ -105,9 +105,9 @@ module W3DHubLauncher
step = @steps.shift step = @steps.shift
step&.call step&.call
pp (1.0 - (@steps.size / @step_count.to_f)), @steps.size, @step_count # pp (1.0 - (@steps.size / @step_count.to_f)), @steps.size, @step_count
@progress_bar.value = (1.0 - (@steps.size / @step_count.to_f)) @progress_bar.value = (1.0 - (@steps.size / @step_count.to_f))
puts
if step.nil? && @initialization_acceptable if step.nil? && @initialization_acceptable
after(100) do after(100) do

View File

@@ -87,7 +87,7 @@ module W3DHubLauncher
def populate_game_info def populate_game_info
# FIXME: We should be able to query an api to figure out the installation state, instead of explictly writing it out like this... # FIXME: We should be able to query an api to figure out the installation state, instead of explictly writing it out like this...
application = MemCache[:settings].applications.find { |app| app.id == @current_app.id } application = MemCache[:settings].applications.find { |app| app.id == @current_app.id }
pp application # pp application
@game_info_container.clear do @game_info_container.clear do
# logo # logo
@@ -117,7 +117,7 @@ module W3DHubLauncher
button safe_get_image("#{ROOT_PATH}/media/icons/singleplayer.png"), tip: "Single player", image_height: 1.0, background_nine_slice: NINE_SLICE_SQUARE, **CTA_BUTTON_THEME button safe_get_image("#{ROOT_PATH}/media/icons/singleplayer.png"), tip: "Single player", image_height: 1.0, background_nine_slice: NINE_SLICE_SQUARE, **CTA_BUTTON_THEME
button safe_get_image("#{ROOT_PATH}/media/icons/gear.png"), tip: "Options", image_height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_RIGHT, **CTA_BUTTON_THEME button safe_get_image("#{ROOT_PATH}/media/icons/gear.png"), tip: "Options", image_height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_RIGHT, **CTA_BUTTON_THEME
elsif @current_app.servicable? elsif @current_app.servicable?
pp @current_app # pp @current_app
button "Import", enabled: false, tip: "Import existing application installation", fill: true, height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_LEFT, **CTA_BUTTON_THEME button "Import", enabled: false, tip: "Import existing application installation", fill: true, height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_LEFT, **CTA_BUTTON_THEME
button "Download", tip: "Download and install application", fill: true, height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_RIGHT, **CTA_BUTTON_THEME button "Download", tip: "Download and install application", fill: true, height: 1.0, background_nine_slice: NINE_SLICE_ROUNDED_RIGHT, **CTA_BUTTON_THEME
else else

View File

@@ -52,7 +52,7 @@ module W3DHubLauncher
# event from Worker received # event from Worker received
def handle_event(event, data) def handle_event(event, data)
pp [event, data] # pp [event, data]
case event case event
when STATUS_ERROR, STATUS_COMPLETE when STATUS_ERROR, STATUS_COMPLETE

View File

@@ -36,7 +36,7 @@ module W3DHubLauncher
if response.success? if response.success?
result.data = response.read result.data = response.read
else else
pp response # pp response
result.error = true result.error = true
end end
end end

View File

@@ -8,6 +8,7 @@ require "socket"
require "rexml" require "rexml"
require "base64" require "base64"
require "logger" require "logger"
require "digest"
require "async" require "async"
require "async/http/internet/instance" require "async/http/internet/instance"