Update 当贝桌面禁止安装软件.md
This commit is contained in:
@@ -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% 顽固盒子)
|
||||||
|
|||||||
Reference in New Issue
Block a user