- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPostBuild.cmd
More file actions
Latest commit
12 lines (9 loc) · 473 Bytes
/
Copy pathPostBuild.cmd
File metadata and controls
12 lines (9 loc) · 473 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
setAppName=abc.smapi.gameloader
adb shell am force-stop %AppName%
iferrorlevel1 (
echo ADB is not connected.
exit /b
)
adb push "bin/ARM64/Release/net6.0/ImproveGame.dll""/storage/emulated/0/Android/data/%AppName%/files/Mods/ImproveGame"
adb push "bin/ARM64/Release/net6.0/manifest.json""/storage/emulated/0/Android/data/%AppName%/files/Mods/ImproveGame"
adb shell am start -n %AppName%"/crc64e91f1276c636690c.LauncherActivity" --ez "IsClickStartGame" true