diff options
author | Egor Bogatov <egorbo@gmail.com> | 2020-05-26 22:52:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 22:52:33 +0300 |
commit | 1bc70f26fb4b78068b00643df34f836250b3f0ab (patch) | |
tree | 6502e216857663cfc84a091e5e4e43a601962479 /tools-local | |
parent | 076b6c107e088e1b3d138d8761faafab40065a89 (diff) |
[mono] Remove unaligned apk after Sign step (#37018)
We don't need two *.apk files in the output dir
Diffstat (limited to 'tools-local')
-rw-r--r-- | tools-local/tasks/mobile.tasks/AndroidAppBuilder/ApkBuilder.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools-local/tasks/mobile.tasks/AndroidAppBuilder/ApkBuilder.cs b/tools-local/tasks/mobile.tasks/AndroidAppBuilder/ApkBuilder.cs index 511483a4bcb..1833c950c17 100644 --- a/tools-local/tasks/mobile.tasks/AndroidAppBuilder/ApkBuilder.cs +++ b/tools-local/tasks/mobile.tasks/AndroidAppBuilder/ApkBuilder.cs @@ -218,6 +218,8 @@ public class ApkBuilder string alignedApk = Path.Combine(OutputDir, "bin", $"{ProjectName}.apk"); Utils.RunProcess(zipalign, $"-v 4 {apkFile} {alignedApk}", workingDir: OutputDir); + // we don't need the unaligned one any more + File.Delete(apkFile); // 5. Generate key |