Created
January 8, 2016 10:19
-
-
Save peroon/9c1389df95e5a9f114be to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| rem appディレクトリがあれば削除 | |
| rmdir /s /q app | |
| rem apkをaptoolでデコードする | |
| call apktool -f d app.apk | |
| rem appというフォルダができる | |
| rem app/assets/Movie/内を削除 | |
| del /q app\assets\Movie\* | |
| rem 置換え用動画をコピー | |
| copy replace\Movie\* app\assets\Movie | |
| rem テキストデータもコピー | |
| copy /Y replace\TextData\PhaseTime.txt app\assets\TextData | |
| rem apkにビルド | |
| call apktool b app -o replaced.apk | |
| rem 署名する | |
| jarsigner -keystore tools\key.keystore -keypass keykey -storepass keykey -verbose replaced.apk key | |
| rem 端末のビューアアプリを完全にアンインストールする | |
| adb shell pm uninstall com.nbsi.viewer | |
| rem 端末に送る | |
| adb install -r replaced.apk | |
| rem 中間ファイルを削除 | |
| del /q replaced.apk | |
| rmdir /s /q app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment