wizzomafizzo / tapto

Launch games using physical objects
GNU General Public License v3.0
64 stars 9 forks source link

feat(): Add the missing options to TATUI #46

Closed asturur closed 2 months ago

asturur commented 2 months ago

Description

Enable/Disable for exit_game works Detecting and entering exit_game_delay works, and validates the value being a positive number Added Andrea Bogazzi to the about screen Incremented version of tapui to 0.6

sigboe commented 2 months ago

LGTM so far, I haven't tested it, but its very close to what I would have done. I think this can be merged so far, if you remove the comment with the half finished _exitGameDelaySetting() function

asturur commented 2 months ago

I copied the game list from the connection string, there is no way i can pull in the core list and other things i m not sure we want to do. Is manual. period.

let me know, the last commit is untested and i won't be able to test it before few hours

asturur commented 2 months ago
  if grep -q "^exit_game_blocklist=\".+\"" "${settings}"; then
    menuOptions[5]="on"
  else 
    menuOptions[2]="on"
  fi

i was expecting this with the + to detect non empty strings, but i can't make it work