✨ more platforms
This commit is contained in:
parent
e00cf90def
commit
5f80622d6b
1 changed files with 26 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue