Repairing off line runner can't read /opt wine problem

This commit is contained in:
gfdgd xi 2023-12-23 21:14:06 +08:00
parent a991d7de04
commit 08e7d2997d

View File

@ -41,16 +41,17 @@ jobs:
## 安装
sudo chroot debian apt install locales /tmp/wine-runner.deb winehq-devel xfce4-terminal -y
# 构建软件包
mkdir package/opt
mkdir package/opt -p
mkdir package/runner -p
sudo cp debian/opt/wine-devel package -rv
sudo cp debian/usr/bin package -rv
sudo cp debian/usr/lib package -rv
sudo cp debian/usr/lib32 package -rv
sudo cp debian/usr/lib64 package -rv
sudo cp debian/opt/apps/deepin-wine-runner package/runner -rv
sudo cp debian/opt/apps/deepin-wine-runner/* package/runner -rv
cp deep-wine-runner/off-line-shell/run.sh package -rv
cp deep-wine-runner/off-line-shell/bwrap_amd64 package/bwrap -rv
sudo chmod 777 -Rv package
sudo chmod 777 -Rv package | true
cd package
# 添加 Wine 运行器离线模式标识
touch opt/apps/deepin-wine-runner/off-line.lock