mirror of
https://github.com/Catfriend1/syncthing-android.git
synced 2025-11-05 13:29:46 +08:00
12 lines
333 B
Batchfile
12 lines
333 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
::
|
|
SET "SCRIPT_PATH=%~dp0"
|
|
SET "PROJECT_ROOT=%SCRIPT_PATH%..\..\.."
|
|
SET /P PACKAGE_NAME=< "%PROJECT_ROOT%\scripts\debug\package_id.txt"
|
|
::
|
|
adb shell am force-stop "%PACKAGE_NAME%"
|
|
adb shell am start -n "%PACKAGE_NAME%/com.nutomic.syncthingandroid.activities.FirstStartActivity"
|
|
::
|
|
goto :eof
|