From f7d51936842bd5e01bcfb6938fbd01f4a736fb4b Mon Sep 17 00:00:00 2001 From: JMARyA Date: Sun, 6 Apr 2025 01:23:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + bootstrap.toml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 bootstrap.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..297d8c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/examples \ No newline at end of file diff --git a/bootstrap.toml b/bootstrap.toml new file mode 100644 index 0000000..796db0d --- /dev/null +++ b/bootstrap.toml @@ -0,0 +1,20 @@ +[ask] +platform = { kind = "selection", prompt = "Game Platform", options = ["wine"] } +name = { kind = "text", prompt = "Game Name?" } +desc = { kind = "text", prompt = "Game Description?" } + +[[actions.replace]] +from = "" +to_var = "name" + +[[actions.replace]] +from = "" +to_var = "desc" + +[[actions.branch]] +when = { var = "platform", eq = "wine"} +branch = "wine" + +[[actions.script]] +script = "setup.sh" +expose = ["name", "desc"]