From ae2d016e0e550c1c89d0791f33685a9a2fbbbcdc Mon Sep 17 00:00:00 2001 From: wangzhongjie Date: Thu, 8 May 2025 09:53:59 +0800 Subject: [PATCH] =?UTF-8?q?fix;=20=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 设置自动拉起_执行两次.bat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 设置自动拉起_执行两次.bat 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 +