From cb1a30881d00661a03786ec412621daf0dc516cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6lting=2C=20Moritz=20=28Intern=29?= Date: Wed, 6 Aug 2025 10:23:35 +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.