Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
76bf17e1ab | |||
ca0f42c326 | |||
5f80622d6b | |||
e00cf90def |
1 changed files with 35 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
[ask]
|
||||
platform = { kind = "selection", prompt = "Game Platform", options = ["wine"] }
|
||||
name = { kind = "text", prompt = "Game Name?" }
|
||||
desc = { kind = "text", prompt = "Game Description?" }
|
||||
platform = { kind = "selection", prompt = "Game Platform", options = ["wine", "wiiu", "3ds", "gamecube", "gba", "ps2", "ps3", "switch", "n64"], order = 1 }
|
||||
name = { kind = "text", prompt = "Game Name?", order = 2 }
|
||||
desc = { kind = "text", prompt = "Game Description?", order = 3 }
|
||||
|
||||
[[actions.replace]]
|
||||
from = "<GAME_TITLE>"
|
||||
|
@ -15,6 +15,38 @@ to_var = "desc"
|
|||
when = { var = "platform", eq = "wine"}
|
||||
branch = "wine"
|
||||
|
||||
[[actions.branch]]
|
||||
when = { var = "platform", eq = "wiiu"}
|
||||
branch = "wiiu"
|
||||
|
||||
[[actions.branch]]
|
||||
when = { var = "platform", eq = "n64"}
|
||||
branch = "n64"
|
||||
|
||||
[[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