more platforms

This commit is contained in:
JMARyA 2025-04-06 02:04:13 +02:00
parent e00cf90def
commit 5f80622d6b
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -1,5 +1,5 @@
[ask]
platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu"] }
platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch"] }
name = { kind = "text", prompt = "Game Name?" }
desc = { kind = "text", prompt = "Game Description?" }
@ -19,6 +19,31 @@ branch = "wine"
when = { var = "platform", eq = "wiiu"}
branch = "wiiu"
[[actions.branch]]
when = { var = "platform", eq = "3ds"}
branch = "3ds"
[[actions.branch]]
when = { var = "platform", eq = "gamecube"}
branch = "gamecube"
[[actions.branch]]
when = { var = "platform", eq = "gba"}
branch = "gba"
[[actions.branch]]
when = { var = "platform", eq = "ps2"}
branch = "ps2"
[[actions.branch]]
when = { var = "platform", eq = "ps3"}
branch = "ps3"
[[actions.branch]]
when = { var = "platform", eq = "switch"}
branch = "switch"
[[actions.script]]
script = "setup.sh"
expose = ["name", "desc"]