import { shell } from '@codemirror/legacy-modes/mode/shell'; import React from 'react'; import tw from 'twin.macro'; import AdminBox from '@/components/admin/AdminBox'; import { Context } from '@/components/admin/nests/eggs/EggRouter'; import Button from '@/components/elements/Button'; import Editor from '@/components/elements/Editor'; import Input from '@/components/elements/Input'; import Label from '@/components/elements/Label'; import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; const initialContent = `#!/bin/ash curl -s https://cdn.pterodactyl.io/releases/latest.json | jq `; export default () => { const egg = Context.useStoreState(state => state.egg); if (egg === undefined) { return ( <> ); } return (

The Docker image to use for running this installation script.

The command that should be used to run this script inside of the installation container.

); };