Install windows fonts
This commit is contained in:
parent
ff96e653a8
commit
5a6320cc78
2 changed files with 35 additions and 0 deletions
|
@ -59,6 +59,9 @@ flatpak install -y flathub ch.threema.threema-web-desktop
|
||||||
flatpak install -y flathub app.ytmdesktop.ytmdesktop
|
flatpak install -y flathub app.ytmdesktop.ytmdesktop
|
||||||
flatpak install -y flathub com.github.tchx84.Flatseal
|
flatpak install -y flathub com.github.tchx84.Flatseal
|
||||||
|
|
||||||
|
# Microsoft Windows Fonts
|
||||||
|
source "$popOSRoot/windows-fonts.sh"
|
||||||
|
|
||||||
# Install JetBrains Stuff
|
# Install JetBrains Stuff
|
||||||
source "$softwareRoot/jetbrains-toolbox.sh"
|
source "$softwareRoot/jetbrains-toolbox.sh"
|
||||||
|
|
||||||
|
|
32
scripts/PopOS/windows-fonts.sh
Executable file
32
scripts/PopOS/windows-fonts.sh
Executable file
|
@ -0,0 +1,32 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Elevate script
|
||||||
|
if [ ! "$UID" -eq 0 ]
|
||||||
|
then
|
||||||
|
sudo bash "$BASH_SOURCE" "$USER"
|
||||||
|
else
|
||||||
|
apt install -y p7zip-full libgumbo-dev libfuse-dev libssl-dev libcurl4-openssl-dev uuid-dev;
|
||||||
|
workingDirectory="$(pwd)";
|
||||||
|
tempDir="$(mktemp -d)";
|
||||||
|
cd $tempDir;
|
||||||
|
|
||||||
|
git clone https://github.com/fangfufu/httpdirfs.git;
|
||||||
|
pushd httpdirfs;
|
||||||
|
make;
|
||||||
|
install -m 755 -D httpdirfs /usr/local/bin/httpdirfs;
|
||||||
|
popd;
|
||||||
|
|
||||||
|
git clone https://aur.archlinux.org/ttf-ms-win11-auto.git ttf-win11;
|
||||||
|
cd ttf-win11;
|
||||||
|
source ./PKGBUILD;
|
||||||
|
prepare;
|
||||||
|
package_ttf-ms-win11-auto;
|
||||||
|
|
||||||
|
rm -f /usr/local/bin/httpdirfs;
|
||||||
|
|
||||||
|
cd $tempDir;
|
||||||
|
wget -O CascadiaCode.zip https://github.com/microsoft/cascadia-code/releases/download/v2111.01/CascadiaCode-2111.01.zip
|
||||||
|
unzip -d . CascadiaCode.zip;
|
||||||
|
cp ttf/* /usr/share/fonts/TTF;
|
||||||
|
|
||||||
|
cd $workingDirectory;
|
||||||
|
fi
|
Loading…
Reference in a new issue