Skip to content

Commit

Permalink
Fix: post build
Browse files Browse the repository at this point in the history
  • Loading branch information
NRTnarathip committed Dec 5, 2024
1 parent a613b4c commit 8201811
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/SMAPI/post-build.cmd
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"

0 comments on commit 8201811

Please sign in to comment.