Skip to content

Commit cf8d516

Browse files
Yeah, bundling the entire terminal emulator for flatpak builds lol
1 parent 0430495 commit cf8d516

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

prepare.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/bin/sh
22

3-
4-
# Download Kitty Binary
5-
echo Downloading Kitty Binary...
6-
curl -LO https://github.com/kovidgoyal/kitty/releases/download/v0.43.1/kitty-0.43.1-x86_64.txz
7-
mkdir -p ./bin/kitty && tar Jxf kitty-0.43.1-x86_64.txz --strip-components=0 -C ./bin/kitty
8-
rm kitty-0.43.1-x86_64.txz
9-
3+
# Yeah, bundling the entire terminal emulator for flatpak builds lol
4+
if [ -d /app ]; then
5+
# Download Kitty Binary
6+
echo Downloading Kitty Binary...
7+
curl -LO https://github.com/kovidgoyal/kitty/releases/download/v0.43.1/kitty-0.43.1-x86_64.txz
8+
mkdir -p ./bin/kitty && tar Jxf kitty-0.43.1-x86_64.txz --strip-components=0 -C ./bin/kitty
9+
rm kitty-0.43.1-x86_64.txz
10+
fi
1011

1112
# Download winetricks
1213
echo Downloading Winetricks...

0 commit comments

Comments
 (0)