@echo off set FILE_PATH=..\start set TOOLCHAIN_PATH=.\win cd %TOOLCHAIN_PATH% .\hdc.exe shell mount -o remount,rw / .\hdc.exe shell rm -rf /data/* .\hdc.exe shell rm -rf /system/app/com.ohos.launcher/* .\hdc.exe file send %FILE_PATH%\Launcher.hap /system/app/com.ohos.launcher .\hdc.exe file send %FILE_PATH%\Launcher_Settings.hap /system/app/com.ohos.launcher .\hdc.exe shell sync .\hdc.exe shell reboot echo "all success" pause