forked from Pathoschild/SMAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a613b4c
commit 8201811
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
|
||
adb logcat -c | ||
set AppName=abc.smapi.gameloader | ||
|
||
adb shell am force-stop %AppName% | ||
|
||
if errorlevel 1 ( | ||
echo ADB is not connected. | ||
exit /b | ||
) | ||
|
||
|
||
adb push "bin/ARM64/Android Release/StardewModdingAPI.dll" "/storage/emulated/0/Android/data/%AppName%/files/Stardew Assemblies/StardewModdingAPI.dll" | ||
|
||
adb shell am start %AppName%"/crc64e91f1276c636690c.LauncherActivity" |