diff --git a/设置自动拉起_执行两次.bat b/设置自动拉起_执行两次.bat new file mode 100644 index 0000000..6356e02 --- /dev/null +++ b/设置自动拉起_执行两次.bat @@ -0,0 +1,15 @@ +@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 +