1 Star 0 Fork 247

myitm/deepin-wine-for-ubuntu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
online_install.sh 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
星外之神 提交于 2019-08-15 14:50 . auto updated by update.sh
#!/bin/bash -e
TMP_DIR="$(mktemp -d)"
RELEASE_ASSERTS_URL="$(wget -qO- -T10 --tries=10 --retry-connrefused https://api.github.com/repos/wszqkzqk/deepin-wine-ubuntu/releases/latest | grep browser_download_url | cut -d '"' -f 4)"
echo "开始下载deepin-wine安装包: ${RELEASE_ASSERTS_URL}, 请稍候..."
wget -c -T10 --tries=10 --show-progress -qO- "${RELEASE_ASSERTS_URL}" | tar zxf - -C "${TMP_DIR}"
echo "正在安装, 请稍后(需要sudo提权)"
sudo dpkg --add-architecture i386
sudo apt update && sudo apt install -y "${TMP_DIR}"/*.deb
rm -fr "${TMP_DIR}"
if [ "x${XDG_CURRENT_DESKTOP}" = "xKDE" ]; then
echo "==========================================================================="
echo "检测到KDE环境,将安装gnome-settings-daemon并下载gsd-xsettings.sh配置"
sudo apt install -y gnome-settings-daemon
mkdir -p "${HOME}/.config/autostart-scripts/"
wget -T10 --tries=10 --show-progress -q -O "${HOME}/.config/autostart-scripts/gsd-xsettings.sh" https://raw.githubusercontent.com/wszqkzqk/deepin-wine-ubuntu/master/gsd-xsettings.sh
chmod 755 "${HOME}/.config/autostart-scripts/gsd-xsettings.sh"
echo "==========================================================================="
fi
echo "安装完毕,您可以访问: https://gitee.com/wszqkzqk/deepin-wine-containers-for-ubuntu/,下载您需要的deepin wine container"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/myitm/deepin-wine-for-ubuntu.git
git@gitee.com:myitm/deepin-wine-for-ubuntu.git
myitm
deepin-wine-for-ubuntu
deepin-wine-for-ubuntu
master

搜索帮助