Update 当贝桌面禁止安装软件.md

This commit is contained in:
dlgt7
2025-09-07 00:00:33 +08:00
committed by GitHub
parent 3ab1ff48d3
commit ea8304078b
+9
View File
@@ -15,14 +15,23 @@
> 一键脚本(电脑端执行) > 一键脚本(电脑端执行)
@echo off @echo off
set ip=192.168.1.100 set ip=192.168.1.100
adb connect %ip% adb connect %ip%
adb root adb root
adb remount adb remount
adb shell "setprop config.Android.AppInstallCtrl 3" adb shell "setprop config.Android.AppInstallCtrl 3"
adb shell "pm enable com.android.packageinstaller" adb shell "pm enable com.android.packageinstaller"
adb shell "settings put global captive_portal_detection_enabled 0" adb shell "settings put global captive_portal_detection_enabled 0"
echo 完成!重启盒子生效。 echo 完成!重启盒子生效。
pause pause
## 2️⃣ Root 方案(10% 顽固盒子) ## 2️⃣ Root 方案(10% 顽固盒子)