From da7a8ddd71504edde0a6a7fc43042803c0449284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20H=C3=B6lting?= <87192362+moritz-hoelting@users.noreply.github.com> Date: Mon, 29 Sep 2025 14:10:20 +0200 Subject: [PATCH] automatically switch to linux/mac if detected --- src/components/OsTabSwitcher.astro | 31 +++++++++++++++++++++ src/content/docs/guides/getting-started.mdx | 3 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 src/components/OsTabSwitcher.astro diff --git a/src/components/OsTabSwitcher.astro b/src/components/OsTabSwitcher.astro new file mode 100644 index 0000000..9518151 --- /dev/null +++ b/src/components/OsTabSwitcher.astro @@ -0,0 +1,31 @@ + \ No newline at end of file diff --git a/src/content/docs/guides/getting-started.mdx b/src/content/docs/guides/getting-started.mdx index 4e0eb5f..64b346e 100644 --- a/src/content/docs/guides/getting-started.mdx +++ b/src/content/docs/guides/getting-started.mdx @@ -3,10 +3,10 @@ title: Getting Started description: Get started with Shulkerscript --- import { Steps, FileTree, Tabs, TabItem } from '@astrojs/starlight/components'; +import OsTabSwitcher from '../../../components/OsTabSwitcher.astro'; ## Installation - To get started with Shulkerscript, you need to install the Shulkerscript CLI. You can either [download](#download-from-github) the latest release from the GitHub releases page or [build it from source](#building-from-source). @@ -15,6 +15,7 @@ If you want to try out Shulkerscript without installing anything, you can use th ::: ### Quickinstall script *(recommended)* + 1.