From ddc8429499d44b86a1fc0b1b42e1c2ac343f33d1 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Wed, 10 Dec 2025 17:35:43 +0100 Subject: [PATCH] Update AppImage --- AppImage/components/script-terminal-modal.tsx | 7 ++++++- AppImage/components/ui/dialog.tsx | 16 ++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/AppImage/components/script-terminal-modal.tsx b/AppImage/components/script-terminal-modal.tsx index 659b93d..0c9f648 100644 --- a/AppImage/components/script-terminal-modal.tsx +++ b/AppImage/components/script-terminal-modal.tsx @@ -510,7 +510,12 @@ export function ScriptTerminalModal({ > {currentInteraction.title}
-

{currentInteraction.message}

+

").replace(/\n/g, "
"), + }} + /> {currentInteraction.type === "yesno" && (

diff --git a/AppImage/components/ui/dialog.tsx b/AppImage/components/ui/dialog.tsx index 5c95c56..5b7884d 100644 --- a/AppImage/components/ui/dialog.tsx +++ b/AppImage/components/ui/dialog.tsx @@ -31,8 +31,10 @@ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName const DialogContent = React.forwardRef< React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( + React.ComponentPropsWithoutRef & { + hideClose?: boolean + } +>(({ className, children, hideClose, ...props }, ref) => ( {children} - - - Close - + {!hideClose && ( + + + Close + + )} ))