fix; 补充
This commit is contained in:
parent
890a7570f6
commit
ae2d016e0e
15
设置自动拉起_执行两次.bat
Normal file
15
设置自动拉起_执行两次.bat
Normal file
@ -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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user