禁用指定的包名- @echo off & cd /d "%~dp0"
- REM 设置adb工具包
- set "PATH=%PATH%;F:\adb"
- REM 设置要禁用的包名
- set "pkg_list=%pkg_list% com.samsung.android.game.gametools"
- set "pkg_list=%pkg_list% com.samsung.android.rubin.app"
- set "pkg_list=%pkg_list% com.sec.android.app.sbrowser"
- set "pkg_list=%pkg_list% com.sec.spp.push"
- set "pkg_list=%pkg_list% com.tencent.mobileqq"
- REM 执行禁用
- for %%i in (%pkg_list%) do adb shell pm disable-user %%i
- pause&exit
复制代码
|