Example #1
0
 private void InitializeZipalign()
 {
     zipalign = new Zipalign(Program.ZIPALIGN_PATH);
     zipalign.OutputDataReceived += zipalign_OutputDataReceived;
     zipalign.ErrorDataReceived  += zipalign_ErrorDataReceived;
     zipalign.Exited             += zipalign_Exited;
 }
Example #2
0
        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;
        }
Example #3
0
 private void InitializeZipalign()
 {
     zipalign = new Zipalign(Program.ZIPALIGN_PATH);
     zipalign.OutputDataReceived += zipalign_OutputDataReceived;
     zipalign.ErrorDataReceived += zipalign_ErrorDataReceived;
     zipalign.Exited += zipalign_Exited;
 }