private void InitializeZipalign() { zipalign = new Zipalign(Program.ZIPALIGN_PATH); zipalign.OutputDataReceived += zipalign_OutputDataReceived; zipalign.ErrorDataReceived += zipalign_ErrorDataReceived; zipalign.Exited += zipalign_Exited; }
void zipalign_Exited(object sender, EventArgs e) { Zipalign za = (Zipalign)sender; if (za.ExitCode == 0) { ToLog(ApktoolEventType.Information, "File saved to " + za.Options.OutputFile); } else { ToLog(ApktoolEventType.Warning, "Exit code: " + za.ExitCode); } Done(); //ActionButtonsEnabled = true; }