#!/usr/bin/env bash ## install yay if ! grep -q archlinuxcn /etc/pacman.conf;then echo "[archlinuxcn]" | sudo tee -a /etc/pacman.conf echo 'Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch' | sudo tee -a /etc/pacman.conf fi if yay --version &> /dev/null;then echo "yay exists,nothing to do" else sudo pacman -Syu sudo pacman-key --lsign-key "farseerfc@archlinux.org" sudo pacman -S archlinuxcn-keyring sudo pacman -S yay fi sudo pacman -S glib2-devel gconf yay -S breezy yay -S python-launchpadlib cd package tar xf libappindicator-sharp.tgz cd libappindicator-sharp makepkg -si if [ $? -eq 0 ];then cd ../../ sudo pacman -U package/electron-ssr-0.2.7.pacman fi