添加shell脚本

This commit is contained in:
gfdgd xi 2023-03-27 21:56:14 +08:00
parent c3062915f4
commit ba91aae7e1
2 changed files with 18 additions and 0 deletions

@ -0,0 +1,4 @@
#!/bin/bash
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
echo 安装完成,按回车键后退出
read

@ -0,0 +1,14 @@
#!/bin/bash
which git > /dev/null
if [[ $? != 0 ]]; then
sudo apt install git -y
fi
cd /tmp
if [ -d /tmp/deepin-wine-for-ubuntu ]; then
rm -rf /tmp/deepin-wine-for-ubuntu
fi
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
cd deepin-wine-for-ubuntu
bash install.sh
echo 安装完成,按回车键退出
read