Dual screen game clock now working

This commit is contained in:
2021-09-29 13:41:44 -05:00
parent 44523b0bf2
commit 2948b02f12
8 changed files with 36 additions and 58 deletions

View File

@@ -20,7 +20,17 @@ module TAC
window.fullscreen = true
end
button "Dual Screen Game Clock", width: 1.0, enabled: false do
button "Dual Screen Game Clock", width: 1.0 do
# Spawn game clock window
$clock_pid = Process.spawn(
RbConfig.ruby,
"#{ROOT_PATH}/timecrafters_configuration_tool.rb",
"--game-clock-remote-display"
)
# switch to remote control
push_state(PracticeGameClock::RemoteControl::NetConnect)
end
title "Remote", width: 1.0, text_align: :center, margin_top: 32