mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
修复数值错误问题
This commit is contained in:
28
InstallBox86.sh
Executable file
28
InstallBox86.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
PCArch=`arch`
|
||||
if [[ $PCArch != "" ]] && [[ $PCArch != "" ]]; then
|
||||
echo 非 ARM 架构,无法继续
|
||||
echo 按任意键退出
|
||||
read
|
||||
exit 1
|
||||
fi
|
||||
if [[ -f /etc/apt/sources.list.d/box86.list ]]; then
|
||||
echo 已安装,结束
|
||||
echo 按任意键退出
|
||||
read
|
||||
exit 1
|
||||
fi
|
||||
#sudo wget https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list -O /etc/apt/sources.list.d/box86.list
|
||||
echo deb https://code.gitlink.org.cn/gfdgd_xi/weekly-box86-debs/raw/branch/main/debian / > /etc/apt/sources.list.d/box86.list
|
||||
echo "adding key..."
|
||||
wget -qO- https://code.gitlink.org.cn/gfdgd_xi/weekly-box86-debs/raw/branch/main/debian/KEY.gpg | sudo apt-key add -
|
||||
installBox=box86
|
||||
if [[ $PCArch == "" ]]; then
|
||||
installBox="box86 box64"
|
||||
sudo dpkg --add-architecture armhf
|
||||
fi
|
||||
echo " + sudo apt update"
|
||||
sudo apt update
|
||||
sudo apt install -y $installBox
|
||||
echo 安装完成!
|
||||
read
|
||||
Reference in New Issue
Block a user