From cf8d516b8abb209d867d2129460ff0598902975c Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 2 Nov 2025 03:53:41 +0300 Subject: [PATCH] Yeah, bundling the entire terminal emulator for flatpak builds lol --- prepare.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/prepare.sh b/prepare.sh index 52978ba..ca1caf1 100755 --- a/prepare.sh +++ b/prepare.sh @@ -1,12 +1,13 @@ #!/bin/sh - -# Download Kitty Binary -echo Downloading Kitty Binary... -curl -LO https://github.com/kovidgoyal/kitty/releases/download/v0.43.1/kitty-0.43.1-x86_64.txz -mkdir -p ./bin/kitty && tar Jxf kitty-0.43.1-x86_64.txz --strip-components=0 -C ./bin/kitty -rm kitty-0.43.1-x86_64.txz - +# Yeah, bundling the entire terminal emulator for flatpak builds lol +if [ -d /app ]; then + # Download Kitty Binary + echo Downloading Kitty Binary... + curl -LO https://github.com/kovidgoyal/kitty/releases/download/v0.43.1/kitty-0.43.1-x86_64.txz + mkdir -p ./bin/kitty && tar Jxf kitty-0.43.1-x86_64.txz --strip-components=0 -C ./bin/kitty + rm kitty-0.43.1-x86_64.txz +fi # Download winetricks echo Downloading Winetricks...