mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
修复运行库安装闪退问题
This commit is contained in:
parent
808471c330
commit
70014b29ef
@ -3,6 +3,7 @@ CURRENT_DIR=$(cd $(dirname $0); pwd)
|
||||
cd $CURRENT_DIR
|
||||
if [[ -f $CURRENT_DIR/usr/lib/ld-linux-x86-64.so.2 ]]; then
|
||||
echo 运行库已安装,按回车键退出
|
||||
read
|
||||
exit
|
||||
fi
|
||||
aria2c -x 16 -s 16 -d /tmp https://jihulab.com/gfdgd-xi/bwrapruntime/-/raw/main/library.tar.xz
|
||||
|
@ -3,6 +3,7 @@ CURRENT_DIR=$(cd $(dirname $0); pwd)
|
||||
cd $CURRENT_DIR
|
||||
if [[ ! -f $CURRENT_DIR/usr/lib/ld-linux-x86-64.so.2 ]]; then
|
||||
echo 运行库未安装,按回车键退出
|
||||
read
|
||||
exit
|
||||
fi
|
||||
sudo rm -rfv lib
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"Version": "3.2.2",
|
||||
"Version": "3.3.0",
|
||||
"Time": "未知",
|
||||
"Thank": [
|
||||
"感谢 RacoonGX 的付出与贡献",
|
||||
|
@ -3015,7 +3015,7 @@ installLib.addAction(statusRunnerLib)
|
||||
installLib.addAction(installRunnerLib)
|
||||
installLib.addAction(removeRunnerLib)
|
||||
installRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]).start())
|
||||
removeRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/install.sh'"]).start())
|
||||
removeRunnerLib.triggered.connect(lambda: threading.Thread(target=OpenTerminal, args=[f"bash '{programPath}/WineLib/remove.sh'"]).start())
|
||||
if os.path.exists(f"{programPath}/WineLib/usr/lib/ld-linux-x86-64.so.2"):
|
||||
installRunnerLib.setDisabled(True)
|
||||
removeRunnerLib.setEnabled(True)
|
||||
|
Loading…
Reference in New Issue
Block a user