script/关闭媒体扫描.bat

12 lines
484 B
Batchfile
Raw Normal View History

2025-04-29 14:00:10 +08:00
@echo off
set TOOLCHAIN_PATH=.\win
2025-05-08 09:51:03 +08:00
set DOWNLOAD_PATH=..\scan
2025-04-29 14:00:10 +08:00
cd %TOOLCHAIN_PATH%
.\hdc.exe shell mount -o remount,rw /
2025-05-08 17:12:08 +08:00
.\hdc.exe file send %DOWNLOAD_PATH%/libmedia_library.z.so /system/lib/platformsdk/
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /system/lib/
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /data/app/el1/bundle/public/com.ohos.medialibrary.medialibrarydata/libs/arm/
2025-04-29 14:07:56 +08:00
.\hdc.exe shell reboot
2025-05-08 09:51:03 +08:00
echo "all success"
2025-04-29 14:17:21 +08:00
pause