geefr / beatsaber-linux-goodies

Mod installation scripts and other goodies to support Beat Saber on Linux
BSD 2-Clause "Simplified" License
132 stars 5 forks source link

Read list of bs versions from beatmods #62

Closed geefr closed 3 years ago

geefr commented 3 years ago

As implemented for the tui script in #60 but in the main qbeat binary

ominitay commented 3 years ago

In terms of the functionality, I suggest that two commands for the version are implemented. getVersions, and setVersion.

getVersions should do exactly what it sounds like: output an array of all accepted versions. The API already outputs a JSON array, so this could perhaps be passed on, maybe changed to be more user-readable.

setVersion should accept either a value from getVersions, or accept the value latest, which would, obviously, set it to the latest version. Doing things this way would ensure that QBeat remains non-interactive.

geefr commented 3 years ago

Functionality is implemented in beataroni so closing. Would accept pr for qbeat but extremely low priority.