-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.bash
More file actions
executable file
·34 lines (28 loc) · 968 Bytes
/
setup.bash
File metadata and controls
executable file
·34 lines (28 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
set -e
git submodule update --init
mkdir -p "fonts"
mkdir -p "fonts/gen-ei-mono-go"
pushd "fonts/gen-ei-mono-go"
if [[ ! -f "GenEiMonoGothic_v1.0.zip" ]]; then
echo "You have to download \"GenEiMonoGothic_v1.0.zip\" manually."
echo "https://okoneya.jp/font/genei-mono-go.html"
else
rm -rf *.ttf
unzip -j "GenEiMonoGothic_v1.0.zip" "GenEiMonoGothic_v1.0/GenEiMonoGothic-*.ttf"
fi
popd
mkdir -p "fonts/jetbrains-mono"
pushd "fonts/jetbrains-mono"
rm -rf *
wget -O "jetbrains-mono.zip" "https://github.com/JetBrains/JetBrainsMono/releases/download/v2.242/JetBrainsMono-2.242.zip"
unzip -j "jetbrains-mono.zip" "fonts/ttf/*"
popd
mkdir -p "fonts/nerd-fonts-patcher"
pushd "fonts/nerd-fonts-patcher"
rm -rf *
wget -O "FontPatcher.zip" "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/FontPatcher.zip"
unzip "FontPatcher.zip"
popd
mkdir -p "dist"
rm -rf "dist/*"