From 3401402bd6dd75cbefc8ed55f54a02bc74d31078 Mon Sep 17 00:00:00 2001 From: AndnixSH <40742924+AndnixSH@users.noreply.github.com> Date: Sat, 30 Nov 2024 22:33:55 +0100 Subject: [PATCH] Transition to System.IO.Compression --- APKToolGUI/APKToolGUI.csproj | 47 +- APKToolGUI/Forms/FormMain.Designer.cs | 2142 ++++++++--------- APKToolGUI/Forms/FormMain.cs | 26 +- APKToolGUI/Forms/FormMain.resx | 15 +- .../ILLink.Descriptors.LibraryBuild.xml | 8 + APKToolGUI/Utils/ZipUtils.cs | 174 +- APKToolGUI/app.config | 12 +- APKToolGUI/packages.config | 20 +- 8 files changed, 1227 insertions(+), 1217 deletions(-) create mode 100644 APKToolGUI/ILLink/ILLink.Descriptors.LibraryBuild.xml diff --git a/APKToolGUI/APKToolGUI.csproj b/APKToolGUI/APKToolGUI.csproj index 0acb806..d314c35 100644 --- a/APKToolGUI/APKToolGUI.csproj +++ b/APKToolGUI/APKToolGUI.csproj @@ -84,8 +84,8 @@ ..\packages\DarkNet.2.3.0\lib\net452\DarkNet.dll - - ..\packages\DotNetZip.1.16.0\lib\net40\DotNetZip.dll + + ..\packages\Microsoft.Bcl.HashCode.6.0.0\lib\net462\Microsoft.Bcl.HashCode.dll @@ -121,8 +121,11 @@ True True - - ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + ..\packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll + + + ..\packages\System.Collections.Immutable.9.0.0\lib\net462\System.Collections.Immutable.dll @@ -133,14 +136,17 @@ - - ..\packages\System.Diagnostics.DiagnosticSource.8.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll + + ..\packages\System.Diagnostics.DiagnosticSource.9.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll ..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll True True + + ..\packages\System.Formats.Nrbf.9.0.0\lib\net462\System.Formats.Nrbf.dll + ..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll True @@ -183,8 +189,8 @@ True - - ..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll + + ..\packages\System.Memory.4.6.0\lib\net462\System.Memory.dll ..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll @@ -197,24 +203,27 @@ True - - ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + ..\packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll ..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll True True - - ..\packages\System.Resources.Extensions.8.0.0\lib\net462\System.Resources.Extensions.dll + + ..\packages\System.Reflection.Metadata.9.0.0\lib\net462\System.Reflection.Metadata.dll + + + ..\packages\System.Resources.Extensions.9.0.0\lib\net462\System.Resources.Extensions.dll ..\packages\System.Runtime.4.3.1\lib\net462\System.Runtime.dll True True - - ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + + ..\packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll ..\packages\System.Runtime.Extensions.4.3.1\lib\net462\System.Runtime.Extensions.dll @@ -257,6 +266,9 @@ True True + + ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll + @@ -434,6 +446,7 @@ + @@ -477,7 +490,7 @@ - + @@ -485,7 +498,7 @@ - + - + \ No newline at end of file diff --git a/APKToolGUI/Forms/FormMain.Designer.cs b/APKToolGUI/Forms/FormMain.Designer.cs index 03e3ce6..5965e2b 100644 --- a/APKToolGUI/Forms/FormMain.Designer.cs +++ b/APKToolGUI/Forms/FormMain.Designer.cs @@ -34,6 +34,7 @@ private void InitializeComponent() this.tabPageMain = new System.Windows.Forms.TabPage(); this.mergePanel = new System.Windows.Forms.Panel(); this.splitApkTxt = new System.Windows.Forms.Label(); + this.splitApkPathTxtBox = new System.Windows.Forms.TextBox(); this.selSplitApkBtn = new System.Windows.Forms.Button(); this.mergeApkBtn = new System.Windows.Forms.Button(); this.comApkOpenDir = new System.Windows.Forms.Button(); @@ -47,18 +48,22 @@ private void InitializeComponent() this.openAndroidMainfestBtn = new System.Windows.Forms.Button(); this.signPanel = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); + this.textBox_SIGN_InputFile = new System.Windows.Forms.TextBox(); this.button_SIGN_BrowseInputFile = new System.Windows.Forms.Button(); this.button_SIGN_Sign = new System.Windows.Forms.Button(); this.zipalignPanel = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.button_ZIPALIGN_Align = new System.Windows.Forms.Button(); this.button_ZIPALIGN_BrowseInputFile = new System.Windows.Forms.Button(); + this.textBox_ZIPALIGN_InputFile = new System.Windows.Forms.TextBox(); this.comPanel = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.button_BUILD_BrowseInputProjectDir = new System.Windows.Forms.Button(); this.button_BUILD_Build = new System.Windows.Forms.Button(); + this.textBox_BUILD_InputProjectDir = new System.Windows.Forms.TextBox(); this.decPanel = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); + this.textBox_DECODE_InputAppPath = new System.Windows.Forms.TextBox(); this.button_DECODE_Decode = new System.Windows.Forms.Button(); this.button_DECODE_BrowseInputAppPath = new System.Windows.Forms.Button(); this.tabPageApkInfo = new System.Windows.Forms.TabPage(); @@ -108,10 +113,53 @@ private void InitializeComponent() this.fullInfoTextBox = new System.Windows.Forms.RichTextBox(); this.tabPageDecode = new System.Windows.Forms.TabPage(); this.groupBox_DECODE_Options = new System.Windows.Forms.GroupBox(); + this.decJobsLvlUpDown = new System.Windows.Forms.NumericUpDown(); + this.checkBox3 = new System.Windows.Forms.CheckBox(); + this.checkBox7 = new System.Windows.Forms.CheckBox(); + this.decApiLvlUpDown = new System.Windows.Forms.NumericUpDown(); + this.decSetApiLvlChkBox = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_FixError = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_OnlyMainClasses = new System.Windows.Forms.CheckBox(); + this.textBox_DECODE_FrameDir = new System.Windows.Forms.TextBox(); + this.button_DECODE_BrowseOutputDirectory = new System.Windows.Forms.Button(); + this.checkBox_DECODE_UseFramework = new System.Windows.Forms.CheckBox(); + this.button_DECODE_BrowseFrameDir = new System.Windows.Forms.Button(); + this.checkBox_DECODE_MatchOriginal = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_OutputDirectory = new System.Windows.Forms.CheckBox(); + this.textBox_DECODE_OutputDirectory = new System.Windows.Forms.TextBox(); + this.checkBox_DECODE_KeepBrokenRes = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_NoSrc = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_Force = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_NoRes = new System.Windows.Forms.CheckBox(); + this.checkBox_DECODE_NoDebugInfo = new System.Windows.Forms.CheckBox(); this.tabPageBuild = new System.Windows.Forms.TabPage(); this.groupBox_BUILD_Options = new System.Windows.Forms.GroupBox(); + this.comJobsLvlUpDown = new System.Windows.Forms.NumericUpDown(); + this.checkBox4 = new System.Windows.Forms.CheckBox(); + this.checkBox_BUILD_NetSecConf = new System.Windows.Forms.CheckBox(); + this.useAapt2ChkBox = new System.Windows.Forms.CheckBox(); + this.buildApiLvlUpDown = new System.Windows.Forms.NumericUpDown(); + this.buildSetApiLvlChkBox = new System.Windows.Forms.CheckBox(); + this.createUnsignApkChkBox = new System.Windows.Forms.CheckBox(); + this.signAfterBuildChkBox = new System.Windows.Forms.CheckBox(); + this.zipalignAfterBuildChkBox = new System.Windows.Forms.CheckBox(); + this.checkBox_BUILD_NoCrunch = new System.Windows.Forms.CheckBox(); + this.button_BUILD_BrowseOutputAppPath = new System.Windows.Forms.Button(); + this.checkBox_BUILD_ForceAll = new System.Windows.Forms.CheckBox(); + this.button_BUILD_BrowseFrameDir = new System.Windows.Forms.Button(); + this.button_BUILD_BrowseAaptPath = new System.Windows.Forms.Button(); + this.checkBox_BUILD_OutputAppPath = new System.Windows.Forms.CheckBox(); + this.checkBox_BUILD_CopyOriginal = new System.Windows.Forms.CheckBox(); + this.textBox_BUILD_OutputAppPath = new System.Windows.Forms.TextBox(); + this.checkBox_BUILD_UseAapt = new System.Windows.Forms.CheckBox(); + this.textBox_BUILD_AaptPath = new System.Windows.Forms.TextBox(); + this.textBox_BUILD_FrameDir = new System.Windows.Forms.TextBox(); + this.checkBox_BUILD_UseFramework = new System.Windows.Forms.CheckBox(); this.tabPageSign = new System.Windows.Forms.TabPage(); this.groupBox_SIGN_Options = new System.Windows.Forms.GroupBox(); + this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.autoDelIdsigChkBox = new System.Windows.Forms.CheckBox(); this.schemev4ComboBox = new System.Windows.Forms.ComboBox(); this.label27 = new System.Windows.Forms.Label(); this.schemev3ComboBox = new System.Windows.Forms.ComboBox(); @@ -120,37 +168,67 @@ private void InitializeComponent() this.label25 = new System.Windows.Forms.Label(); this.schemev1ComboBox = new System.Windows.Forms.ComboBox(); this.label24 = new System.Windows.Forms.Label(); + this.textBox3 = new System.Windows.Forms.TextBox(); this.selectKeyStoreFileBtn = new System.Windows.Forms.Button(); + this.aliasTxtBox = new System.Windows.Forms.TextBox(); + this.useAliasChkBox = new System.Windows.Forms.CheckBox(); this.label22 = new System.Windows.Forms.Label(); + this.keyStoreFileTxtBox = new System.Windows.Forms.TextBox(); this.label21 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); + this.useKeyStoreChkBox = new System.Windows.Forms.CheckBox(); + this.useSigningOutputDir = new System.Windows.Forms.CheckBox(); this.label_SIGN_PrivateKey = new System.Windows.Forms.Label(); this.label_SIGN_PublicKey = new System.Windows.Forms.Label(); this.button_SIGN_BrowseOutputFile = new System.Windows.Forms.Button(); + this.textBox_SIGN_OutputFile = new System.Windows.Forms.TextBox(); this.button_SIGN_BrowsePublicKey = new System.Windows.Forms.Button(); this.button_SIGN_BrowsePrivateKey = new System.Windows.Forms.Button(); + this.textBox_SIGN_PublicKey = new System.Windows.Forms.TextBox(); + this.textBox_SIGN_PrivateKey = new System.Windows.Forms.TextBox(); this.tabPageZipAlign = new System.Windows.Forms.TabPage(); this.groupBox_ZIPALIGN_Options = new System.Windows.Forms.GroupBox(); + this.zipalignOutputDirChkBox = new System.Windows.Forms.CheckBox(); + this.signAfterZipalignChkBox = new System.Windows.Forms.CheckBox(); + this.checkBox_ZIPALIGN_Recompress = new System.Windows.Forms.CheckBox(); this.label_ZIPALIGN_AlignmentBytes = new System.Windows.Forms.Label(); this.button_ZIPALIGN_BrowseOutputFile = new System.Windows.Forms.Button(); + this.checkBox_ZIPALIGN_CheckAlignment = new System.Windows.Forms.CheckBox(); + this.textBox_ZIPALIGN_OutputFile = new System.Windows.Forms.TextBox(); + this.checkBox_ZIPALIGN_VerboseOutput = new System.Windows.Forms.CheckBox(); + this.numericUpDown_ZIPALIGN_AlignmentBytes = new System.Windows.Forms.NumericUpDown(); + this.checkBox_ZIPALIGN_OverwriteOutputFile = new System.Windows.Forms.CheckBox(); this.tabPageInstallFramework = new System.Windows.Forms.TabPage(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.openFwFolderBtn = new System.Windows.Forms.Button(); this.clearFwBtn = new System.Windows.Forms.Button(); + this.clearFwBeforeDecodeChkBox = new System.Windows.Forms.CheckBox(); this.groupBox_IF_Options = new System.Windows.Forms.GroupBox(); + this.checkBox_IF_Tag = new System.Windows.Forms.CheckBox(); + this.checkBox_IF_FramePath = new System.Windows.Forms.CheckBox(); + this.textBox_IF_Tag = new System.Windows.Forms.TextBox(); this.button_IF_InstallFramework = new System.Windows.Forms.Button(); + this.button_IF_BrowseFrameDir = new System.Windows.Forms.Button(); this.button_IF_BrowseInputFramePath = new System.Windows.Forms.Button(); + this.textBox_IF_InputFramePath = new System.Windows.Forms.TextBox(); + this.textBox_IF_FrameDir = new System.Windows.Forms.TextBox(); this.tabPageBaksmali = new System.Windows.Forms.TabPage(); this.smaliGroupBox = new System.Windows.Forms.GroupBox(); this.label29 = new System.Windows.Forms.Label(); + this.smaliUseOutputChkBox = new System.Windows.Forms.CheckBox(); this.comSmaliBtn = new System.Windows.Forms.Button(); this.smaliBrowseOutputBtn = new System.Windows.Forms.Button(); + this.smaliBrowseInputDirTxtBox = new System.Windows.Forms.TextBox(); + this.smaliBrowseOutputTxtBox = new System.Windows.Forms.TextBox(); this.smaliBrowseInputDirBtn = new System.Windows.Forms.Button(); this.bakSmaliGroupBox = new System.Windows.Forms.GroupBox(); this.label28 = new System.Windows.Forms.Label(); + this.baksmaliUseOutputChkBox = new System.Windows.Forms.CheckBox(); this.baksmaliBrowseOutputBtn = new System.Windows.Forms.Button(); + this.baksmaliBrowseOutputTxtBox = new System.Windows.Forms.TextBox(); this.decSmaliBtn = new System.Windows.Forms.Button(); this.baksmaliBrowseInputDexBtn = new System.Windows.Forms.Button(); + this.baksmaliBrowseInputDexTxtBox = new System.Windows.Forms.TextBox(); this.tabPageAdb = new System.Windows.Forms.TabPage(); this.overrideAbiComboBox = new System.Windows.Forms.ComboBox(); this.selAdbDeviceLbl = new System.Windows.Forms.Label(); @@ -159,6 +237,9 @@ private void InitializeComponent() this.installApkBtn = new System.Windows.Forms.Button(); this.refreshDevicesBtn = new System.Windows.Forms.Button(); this.selApkAdbBtn = new System.Windows.Forms.Button(); + this.overrideAbiCheckBox = new System.Windows.Forms.CheckBox(); + this.setVendorChkBox = new System.Windows.Forms.CheckBox(); + this.apkPathAdbTxtBox = new System.Windows.Forms.TextBox(); this.label32 = new System.Windows.Forms.Label(); this.devicesListBox = new System.Windows.Forms.ListBox(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); @@ -179,6 +260,7 @@ private void InitializeComponent() this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.useAPKEditorForDecompilingItem = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.checkForUpdateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -187,88 +269,6 @@ private void InitializeComponent() this.baksmaliIssuesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); - this.useAPKEditorForDecompilingItem = new System.Windows.Forms.ToolStripMenuItem(); - this.splitApkPathTxtBox = new System.Windows.Forms.TextBox(); - this.textBox_SIGN_InputFile = new System.Windows.Forms.TextBox(); - this.textBox_ZIPALIGN_InputFile = new System.Windows.Forms.TextBox(); - this.textBox_BUILD_InputProjectDir = new System.Windows.Forms.TextBox(); - this.textBox_DECODE_InputAppPath = new System.Windows.Forms.TextBox(); - this.decJobsLvlUpDown = new System.Windows.Forms.NumericUpDown(); - this.checkBox3 = new System.Windows.Forms.CheckBox(); - this.checkBox7 = new System.Windows.Forms.CheckBox(); - this.decApiLvlUpDown = new System.Windows.Forms.NumericUpDown(); - this.decSetApiLvlChkBox = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_FixError = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_OnlyMainClasses = new System.Windows.Forms.CheckBox(); - this.textBox_DECODE_FrameDir = new System.Windows.Forms.TextBox(); - this.button_DECODE_BrowseOutputDirectory = new System.Windows.Forms.Button(); - this.checkBox_DECODE_UseFramework = new System.Windows.Forms.CheckBox(); - this.button_DECODE_BrowseFrameDir = new System.Windows.Forms.Button(); - this.checkBox_DECODE_MatchOriginal = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_OutputDirectory = new System.Windows.Forms.CheckBox(); - this.textBox_DECODE_OutputDirectory = new System.Windows.Forms.TextBox(); - this.checkBox_DECODE_KeepBrokenRes = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_NoSrc = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_Force = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_NoRes = new System.Windows.Forms.CheckBox(); - this.checkBox_DECODE_NoDebugInfo = new System.Windows.Forms.CheckBox(); - this.comJobsLvlUpDown = new System.Windows.Forms.NumericUpDown(); - this.checkBox4 = new System.Windows.Forms.CheckBox(); - this.checkBox_BUILD_NetSecConf = new System.Windows.Forms.CheckBox(); - this.useAapt2ChkBox = new System.Windows.Forms.CheckBox(); - this.buildApiLvlUpDown = new System.Windows.Forms.NumericUpDown(); - this.buildSetApiLvlChkBox = new System.Windows.Forms.CheckBox(); - this.createUnsignApkChkBox = new System.Windows.Forms.CheckBox(); - this.signAfterBuildChkBox = new System.Windows.Forms.CheckBox(); - this.zipalignAfterBuildChkBox = new System.Windows.Forms.CheckBox(); - this.checkBox_BUILD_NoCrunch = new System.Windows.Forms.CheckBox(); - this.button_BUILD_BrowseOutputAppPath = new System.Windows.Forms.Button(); - this.checkBox_BUILD_ForceAll = new System.Windows.Forms.CheckBox(); - this.button_BUILD_BrowseFrameDir = new System.Windows.Forms.Button(); - this.button_BUILD_BrowseAaptPath = new System.Windows.Forms.Button(); - this.checkBox_BUILD_OutputAppPath = new System.Windows.Forms.CheckBox(); - this.checkBox_BUILD_CopyOriginal = new System.Windows.Forms.CheckBox(); - this.textBox_BUILD_OutputAppPath = new System.Windows.Forms.TextBox(); - this.checkBox_BUILD_UseAapt = new System.Windows.Forms.CheckBox(); - this.textBox_BUILD_AaptPath = new System.Windows.Forms.TextBox(); - this.textBox_BUILD_FrameDir = new System.Windows.Forms.TextBox(); - this.checkBox_BUILD_UseFramework = new System.Windows.Forms.CheckBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.autoDelIdsigChkBox = new System.Windows.Forms.CheckBox(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.aliasTxtBox = new System.Windows.Forms.TextBox(); - this.useAliasChkBox = new System.Windows.Forms.CheckBox(); - this.keyStoreFileTxtBox = new System.Windows.Forms.TextBox(); - this.useKeyStoreChkBox = new System.Windows.Forms.CheckBox(); - this.useSigningOutputDir = new System.Windows.Forms.CheckBox(); - this.textBox_SIGN_OutputFile = new System.Windows.Forms.TextBox(); - this.textBox_SIGN_PublicKey = new System.Windows.Forms.TextBox(); - this.textBox_SIGN_PrivateKey = new System.Windows.Forms.TextBox(); - this.zipalignOutputDirChkBox = new System.Windows.Forms.CheckBox(); - this.signAfterZipalignChkBox = new System.Windows.Forms.CheckBox(); - this.checkBox_ZIPALIGN_Recompress = new System.Windows.Forms.CheckBox(); - this.checkBox_ZIPALIGN_CheckAlignment = new System.Windows.Forms.CheckBox(); - this.textBox_ZIPALIGN_OutputFile = new System.Windows.Forms.TextBox(); - this.checkBox_ZIPALIGN_VerboseOutput = new System.Windows.Forms.CheckBox(); - this.numericUpDown_ZIPALIGN_AlignmentBytes = new System.Windows.Forms.NumericUpDown(); - this.checkBox_ZIPALIGN_OverwriteOutputFile = new System.Windows.Forms.CheckBox(); - this.clearFwBeforeDecodeChkBox = new System.Windows.Forms.CheckBox(); - this.checkBox_IF_Tag = new System.Windows.Forms.CheckBox(); - this.checkBox_IF_FramePath = new System.Windows.Forms.CheckBox(); - this.textBox_IF_Tag = new System.Windows.Forms.TextBox(); - this.button_IF_BrowseFrameDir = new System.Windows.Forms.Button(); - this.textBox_IF_InputFramePath = new System.Windows.Forms.TextBox(); - this.textBox_IF_FrameDir = new System.Windows.Forms.TextBox(); - this.smaliUseOutputChkBox = new System.Windows.Forms.CheckBox(); - this.smaliBrowseInputDirTxtBox = new System.Windows.Forms.TextBox(); - this.smaliBrowseOutputTxtBox = new System.Windows.Forms.TextBox(); - this.baksmaliUseOutputChkBox = new System.Windows.Forms.CheckBox(); - this.baksmaliBrowseOutputTxtBox = new System.Windows.Forms.TextBox(); - this.baksmaliBrowseInputDexTxtBox = new System.Windows.Forms.TextBox(); - this.overrideAbiCheckBox = new System.Windows.Forms.CheckBox(); - this.setVendorChkBox = new System.Windows.Forms.CheckBox(); - this.apkPathAdbTxtBox = new System.Windows.Forms.TextBox(); this.tabControlMain.SuspendLayout(); this.tabPageMain.SuspendLayout(); this.mergePanel.SuspendLayout(); @@ -283,12 +283,17 @@ private void InitializeComponent() this.tabPage3.SuspendLayout(); this.tabPageDecode.SuspendLayout(); this.groupBox_DECODE_Options.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.decJobsLvlUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.decApiLvlUpDown)).BeginInit(); this.tabPageBuild.SuspendLayout(); this.groupBox_BUILD_Options.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.comJobsLvlUpDown)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.buildApiLvlUpDown)).BeginInit(); this.tabPageSign.SuspendLayout(); this.groupBox_SIGN_Options.SuspendLayout(); this.tabPageZipAlign.SuspendLayout(); this.groupBox_ZIPALIGN_Options.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ZIPALIGN_AlignmentBytes)).BeginInit(); this.tabPageInstallFramework.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox_IF_Options.SuspendLayout(); @@ -299,11 +304,6 @@ private void InitializeComponent() this.statusStrip1.SuspendLayout(); this.contextMenuStripLog.SuspendLayout(); this.menuStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.decJobsLvlUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.decApiLvlUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.comJobsLvlUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.buildApiLvlUpDown)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ZIPALIGN_AlignmentBytes)).BeginInit(); this.SuspendLayout(); // // tabControlMain @@ -358,6 +358,14 @@ private void InitializeComponent() resources.ApplyResources(this.splitApkTxt, "splitApkTxt"); this.splitApkTxt.Name = "splitApkTxt"; // + // splitApkPathTxtBox + // + this.splitApkPathTxtBox.AllowDrop = true; + resources.ApplyResources(this.splitApkPathTxtBox, "splitApkPathTxtBox"); + this.splitApkPathTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "SplitApk_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.splitApkPathTxtBox.Name = "splitApkPathTxtBox"; + this.splitApkPathTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.SplitApk_InputFile; + // // selSplitApkBtn // resources.ApplyResources(this.selSplitApkBtn, "selSplitApkBtn"); @@ -440,6 +448,14 @@ private void InitializeComponent() resources.ApplyResources(this.label4, "label4"); this.label4.Name = "label4"; // + // textBox_SIGN_InputFile + // + this.textBox_SIGN_InputFile.AllowDrop = true; + resources.ApplyResources(this.textBox_SIGN_InputFile, "textBox_SIGN_InputFile"); + this.textBox_SIGN_InputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_SIGN_InputFile.Name = "textBox_SIGN_InputFile"; + this.textBox_SIGN_InputFile.Text = global::APKToolGUI.Properties.Settings.Default.Sign_InputFile; + // // button_SIGN_BrowseInputFile // resources.ApplyResources(this.button_SIGN_BrowseInputFile, "button_SIGN_BrowseInputFile"); @@ -481,6 +497,14 @@ private void InitializeComponent() this.button_ZIPALIGN_BrowseInputFile.Name = "button_ZIPALIGN_BrowseInputFile"; this.button_ZIPALIGN_BrowseInputFile.UseVisualStyleBackColor = true; // + // textBox_ZIPALIGN_InputFile + // + this.textBox_ZIPALIGN_InputFile.AllowDrop = true; + resources.ApplyResources(this.textBox_ZIPALIGN_InputFile, "textBox_ZIPALIGN_InputFile"); + this.textBox_ZIPALIGN_InputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Zipalign_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_ZIPALIGN_InputFile.Name = "textBox_ZIPALIGN_InputFile"; + this.textBox_ZIPALIGN_InputFile.Text = global::APKToolGUI.Properties.Settings.Default.Zipalign_InputFile; + // // comPanel // this.comPanel.AllowDrop = true; @@ -509,6 +533,14 @@ private void InitializeComponent() this.button_BUILD_Build.Name = "button_BUILD_Build"; this.button_BUILD_Build.UseVisualStyleBackColor = true; // + // textBox_BUILD_InputProjectDir + // + this.textBox_BUILD_InputProjectDir.AllowDrop = true; + resources.ApplyResources(this.textBox_BUILD_InputProjectDir, "textBox_BUILD_InputProjectDir"); + this.textBox_BUILD_InputProjectDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_InputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_InputProjectDir.Name = "textBox_BUILD_InputProjectDir"; + this.textBox_BUILD_InputProjectDir.Text = global::APKToolGUI.Properties.Settings.Default.Build_InputDir; + // // decPanel // this.decPanel.AllowDrop = true; @@ -525,6 +557,14 @@ private void InitializeComponent() resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // + // textBox_DECODE_InputAppPath + // + this.textBox_DECODE_InputAppPath.AllowDrop = true; + resources.ApplyResources(this.textBox_DECODE_InputAppPath, "textBox_DECODE_InputAppPath"); + this.textBox_DECODE_InputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Decode_InputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_DECODE_InputAppPath.Name = "textBox_DECODE_InputAppPath"; + this.textBox_DECODE_InputAppPath.Text = global::APKToolGUI.Properties.Settings.Default.Decode_InputAppPath; + // // button_DECODE_Decode // this.button_DECODE_Decode.AllowDrop = true; @@ -872,1294 +912,1254 @@ private void InitializeComponent() this.groupBox_DECODE_Options.Name = "groupBox_DECODE_Options"; this.groupBox_DECODE_Options.TabStop = false; // - // tabPageBuild - // - resources.ApplyResources(this.tabPageBuild, "tabPageBuild"); - this.tabPageBuild.BackColor = System.Drawing.Color.White; - this.tabPageBuild.Controls.Add(this.groupBox_BUILD_Options); - this.tabPageBuild.Name = "tabPageBuild"; + // decJobsLvlUpDown // - // groupBox_BUILD_Options + this.decJobsLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Decode_Jobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + resources.ApplyResources(this.decJobsLvlUpDown, "decJobsLvlUpDown"); + this.decJobsLvlUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.decJobsLvlUpDown.Name = "decJobsLvlUpDown"; + this.decJobsLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Decode_Jobs; // - this.groupBox_BUILD_Options.Controls.Add(this.comJobsLvlUpDown); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox4); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_NetSecConf); - this.groupBox_BUILD_Options.Controls.Add(this.useAapt2ChkBox); - this.groupBox_BUILD_Options.Controls.Add(this.buildApiLvlUpDown); - this.groupBox_BUILD_Options.Controls.Add(this.buildSetApiLvlChkBox); - this.groupBox_BUILD_Options.Controls.Add(this.createUnsignApkChkBox); - this.groupBox_BUILD_Options.Controls.Add(this.signAfterBuildChkBox); - this.groupBox_BUILD_Options.Controls.Add(this.zipalignAfterBuildChkBox); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_NoCrunch); - this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseOutputAppPath); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_ForceAll); - this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseFrameDir); - this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseAaptPath); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_OutputAppPath); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_CopyOriginal); - this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_OutputAppPath); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_UseAapt); - this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_AaptPath); - this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_FrameDir); - this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_UseFramework); - resources.ApplyResources(this.groupBox_BUILD_Options, "groupBox_BUILD_Options"); - this.groupBox_BUILD_Options.Name = "groupBox_BUILD_Options"; - this.groupBox_BUILD_Options.TabStop = false; + // checkBox3 // - // tabPageSign - // - resources.ApplyResources(this.tabPageSign, "tabPageSign"); - this.tabPageSign.BackColor = System.Drawing.Color.White; - this.tabPageSign.Controls.Add(this.groupBox_SIGN_Options); - this.tabPageSign.Name = "tabPageSign"; - // - // groupBox_SIGN_Options - // - this.groupBox_SIGN_Options.Controls.Add(this.checkBox2); - this.groupBox_SIGN_Options.Controls.Add(this.checkBox1); - this.groupBox_SIGN_Options.Controls.Add(this.autoDelIdsigChkBox); - this.groupBox_SIGN_Options.Controls.Add(this.schemev4ComboBox); - this.groupBox_SIGN_Options.Controls.Add(this.label27); - this.groupBox_SIGN_Options.Controls.Add(this.schemev3ComboBox); - this.groupBox_SIGN_Options.Controls.Add(this.label26); - this.groupBox_SIGN_Options.Controls.Add(this.schemev2ComboBox); - this.groupBox_SIGN_Options.Controls.Add(this.label25); - this.groupBox_SIGN_Options.Controls.Add(this.schemev1ComboBox); - this.groupBox_SIGN_Options.Controls.Add(this.label24); - this.groupBox_SIGN_Options.Controls.Add(this.textBox3); - this.groupBox_SIGN_Options.Controls.Add(this.selectKeyStoreFileBtn); - this.groupBox_SIGN_Options.Controls.Add(this.aliasTxtBox); - this.groupBox_SIGN_Options.Controls.Add(this.useAliasChkBox); - this.groupBox_SIGN_Options.Controls.Add(this.label22); - this.groupBox_SIGN_Options.Controls.Add(this.keyStoreFileTxtBox); - this.groupBox_SIGN_Options.Controls.Add(this.label21); - this.groupBox_SIGN_Options.Controls.Add(this.label20); - this.groupBox_SIGN_Options.Controls.Add(this.useKeyStoreChkBox); - this.groupBox_SIGN_Options.Controls.Add(this.useSigningOutputDir); - this.groupBox_SIGN_Options.Controls.Add(this.label_SIGN_PrivateKey); - this.groupBox_SIGN_Options.Controls.Add(this.label_SIGN_PublicKey); - this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowseOutputFile); - this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_OutputFile); - this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowsePublicKey); - this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowsePrivateKey); - this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_PublicKey); - this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_PrivateKey); - resources.ApplyResources(this.groupBox_SIGN_Options, "groupBox_SIGN_Options"); - this.groupBox_SIGN_Options.Name = "groupBox_SIGN_Options"; - this.groupBox_SIGN_Options.TabStop = false; - // - // schemev4ComboBox - // - this.schemev4ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.schemev4ComboBox.FormattingEnabled = true; - this.schemev4ComboBox.Items.AddRange(new object[] { - resources.GetString("schemev4ComboBox.Items"), - resources.GetString("schemev4ComboBox.Items1"), - resources.GetString("schemev4ComboBox.Items2")}); - resources.ApplyResources(this.schemev4ComboBox, "schemev4ComboBox"); - this.schemev4ComboBox.Name = "schemev4ComboBox"; - // - // label27 - // - resources.ApplyResources(this.label27, "label27"); - this.label27.Name = "label27"; - // - // schemev3ComboBox - // - this.schemev3ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.schemev3ComboBox.FormattingEnabled = true; - this.schemev3ComboBox.Items.AddRange(new object[] { - resources.GetString("schemev3ComboBox.Items"), - resources.GetString("schemev3ComboBox.Items1"), - resources.GetString("schemev3ComboBox.Items2")}); - resources.ApplyResources(this.schemev3ComboBox, "schemev3ComboBox"); - this.schemev3ComboBox.Name = "schemev3ComboBox"; - // - // label26 - // - resources.ApplyResources(this.label26, "label26"); - this.label26.Name = "label26"; + resources.ApplyResources(this.checkBox3, "checkBox3"); + this.checkBox3.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_SetJobs; + this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_SetJobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox3.Name = "checkBox3"; + this.checkBox3.UseVisualStyleBackColor = true; // - // schemev2ComboBox + // checkBox7 // - this.schemev2ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.schemev2ComboBox.FormattingEnabled = true; - this.schemev2ComboBox.Items.AddRange(new object[] { - resources.GetString("schemev2ComboBox.Items"), - resources.GetString("schemev2ComboBox.Items1"), - resources.GetString("schemev2ComboBox.Items2")}); - resources.ApplyResources(this.schemev2ComboBox, "schemev2ComboBox"); - this.schemev2ComboBox.Name = "schemev2ComboBox"; + resources.ApplyResources(this.checkBox7, "checkBox7"); + this.checkBox7.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_DontParseApkInfo; + this.checkBox7.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_DontParseApkInfo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox7.Name = "checkBox7"; + this.checkBox7.UseVisualStyleBackColor = true; // - // label25 + // decApiLvlUpDown // - resources.ApplyResources(this.label25, "label25"); - this.label25.Name = "label25"; + this.decApiLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Decode_ApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + resources.ApplyResources(this.decApiLvlUpDown, "decApiLvlUpDown"); + this.decApiLvlUpDown.Name = "decApiLvlUpDown"; + this.decApiLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Decode_ApiLevel; // - // schemev1ComboBox + // decSetApiLvlChkBox // - this.schemev1ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.schemev1ComboBox.FormattingEnabled = true; - this.schemev1ComboBox.Items.AddRange(new object[] { - resources.GetString("schemev1ComboBox.Items"), - resources.GetString("schemev1ComboBox.Items1"), - resources.GetString("schemev1ComboBox.Items2")}); - resources.ApplyResources(this.schemev1ComboBox, "schemev1ComboBox"); - this.schemev1ComboBox.Name = "schemev1ComboBox"; + resources.ApplyResources(this.decSetApiLvlChkBox, "decSetApiLvlChkBox"); + this.decSetApiLvlChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_SetApiLevel; + this.decSetApiLvlChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_SetApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.decSetApiLvlChkBox.Name = "decSetApiLvlChkBox"; + this.decSetApiLvlChkBox.UseVisualStyleBackColor = true; // - // label24 + // checkBox_DECODE_FixError // - resources.ApplyResources(this.label24, "label24"); - this.label24.Name = "label24"; + resources.ApplyResources(this.checkBox_DECODE_FixError, "checkBox_DECODE_FixError"); + this.checkBox_DECODE_FixError.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_FixError; + this.checkBox_DECODE_FixError.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_DECODE_FixError.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_FixError", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_FixError.Name = "checkBox_DECODE_FixError"; + this.toolTip1.SetToolTip(this.checkBox_DECODE_FixError, resources.GetString("checkBox_DECODE_FixError.ToolTip")); + this.checkBox_DECODE_FixError.UseVisualStyleBackColor = true; // - // selectKeyStoreFileBtn + // checkBox_DECODE_OnlyMainClasses // - resources.ApplyResources(this.selectKeyStoreFileBtn, "selectKeyStoreFileBtn"); - this.selectKeyStoreFileBtn.Name = "selectKeyStoreFileBtn"; - this.selectKeyStoreFileBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_DECODE_OnlyMainClasses, "checkBox_DECODE_OnlyMainClasses"); + this.checkBox_DECODE_OnlyMainClasses.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_OnlyMainClasses; + this.checkBox_DECODE_OnlyMainClasses.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_DECODE_OnlyMainClasses.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_OnlyMainClasses", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_OnlyMainClasses.Name = "checkBox_DECODE_OnlyMainClasses"; + this.toolTip1.SetToolTip(this.checkBox_DECODE_OnlyMainClasses, resources.GetString("checkBox_DECODE_OnlyMainClasses.ToolTip")); + this.checkBox_DECODE_OnlyMainClasses.UseVisualStyleBackColor = true; // - // label22 + // textBox_DECODE_FrameDir // - this.label22.ForeColor = System.Drawing.Color.Maroon; - resources.ApplyResources(this.label22, "label22"); - this.label22.Name = "label22"; + resources.ApplyResources(this.textBox_DECODE_FrameDir, "textBox_DECODE_FrameDir"); + this.textBox_DECODE_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_DECODE_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_DECODE_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; + this.textBox_DECODE_FrameDir.Name = "textBox_DECODE_FrameDir"; + this.textBox_DECODE_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; // - // label21 + // button_DECODE_BrowseOutputDirectory // - resources.ApplyResources(this.label21, "label21"); - this.label21.Name = "label21"; + resources.ApplyResources(this.button_DECODE_BrowseOutputDirectory, "button_DECODE_BrowseOutputDirectory"); + this.button_DECODE_BrowseOutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_DECODE_BrowseOutputDirectory.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; + this.button_DECODE_BrowseOutputDirectory.Name = "button_DECODE_BrowseOutputDirectory"; + this.button_DECODE_BrowseOutputDirectory.UseVisualStyleBackColor = true; // - // label20 + // checkBox_DECODE_UseFramework // - resources.ApplyResources(this.label20, "label20"); - this.label20.Name = "label20"; + resources.ApplyResources(this.checkBox_DECODE_UseFramework, "checkBox_DECODE_UseFramework"); + this.checkBox_DECODE_UseFramework.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; + this.checkBox_DECODE_UseFramework.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_UseFramework.Name = "checkBox_DECODE_UseFramework"; + this.checkBox_DECODE_UseFramework.UseVisualStyleBackColor = true; // - // label_SIGN_PrivateKey + // button_DECODE_BrowseFrameDir // - resources.ApplyResources(this.label_SIGN_PrivateKey, "label_SIGN_PrivateKey"); - this.label_SIGN_PrivateKey.Name = "label_SIGN_PrivateKey"; + resources.ApplyResources(this.button_DECODE_BrowseFrameDir, "button_DECODE_BrowseFrameDir"); + this.button_DECODE_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_DECODE_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; + this.button_DECODE_BrowseFrameDir.Name = "button_DECODE_BrowseFrameDir"; + this.button_DECODE_BrowseFrameDir.UseVisualStyleBackColor = true; // - // label_SIGN_PublicKey + // checkBox_DECODE_MatchOriginal // - resources.ApplyResources(this.label_SIGN_PublicKey, "label_SIGN_PublicKey"); - this.label_SIGN_PublicKey.Name = "label_SIGN_PublicKey"; + resources.ApplyResources(this.checkBox_DECODE_MatchOriginal, "checkBox_DECODE_MatchOriginal"); + this.checkBox_DECODE_MatchOriginal.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_MatchOriginal; + this.checkBox_DECODE_MatchOriginal.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_MatchOriginal", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_MatchOriginal.Name = "checkBox_DECODE_MatchOriginal"; + this.checkBox_DECODE_MatchOriginal.UseVisualStyleBackColor = true; // - // button_SIGN_BrowseOutputFile + // checkBox_DECODE_OutputDirectory // - resources.ApplyResources(this.button_SIGN_BrowseOutputFile, "button_SIGN_BrowseOutputFile"); - this.button_SIGN_BrowseOutputFile.Name = "button_SIGN_BrowseOutputFile"; - this.button_SIGN_BrowseOutputFile.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_DECODE_OutputDirectory, "checkBox_DECODE_OutputDirectory"); + this.checkBox_DECODE_OutputDirectory.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; + this.checkBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_OutputDirectory.Name = "checkBox_DECODE_OutputDirectory"; + this.checkBox_DECODE_OutputDirectory.UseVisualStyleBackColor = true; // - // button_SIGN_BrowsePublicKey + // textBox_DECODE_OutputDirectory // - resources.ApplyResources(this.button_SIGN_BrowsePublicKey, "button_SIGN_BrowsePublicKey"); - this.button_SIGN_BrowsePublicKey.Name = "button_SIGN_BrowsePublicKey"; - this.button_SIGN_BrowsePublicKey.UseVisualStyleBackColor = true; + resources.ApplyResources(this.textBox_DECODE_OutputDirectory, "textBox_DECODE_OutputDirectory"); + this.textBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Decode_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_DECODE_OutputDirectory.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; + this.textBox_DECODE_OutputDirectory.Name = "textBox_DECODE_OutputDirectory"; + this.textBox_DECODE_OutputDirectory.Text = global::APKToolGUI.Properties.Settings.Default.Decode_OutputDir; // - // button_SIGN_BrowsePrivateKey + // checkBox_DECODE_KeepBrokenRes // - resources.ApplyResources(this.button_SIGN_BrowsePrivateKey, "button_SIGN_BrowsePrivateKey"); - this.button_SIGN_BrowsePrivateKey.Name = "button_SIGN_BrowsePrivateKey"; - this.button_SIGN_BrowsePrivateKey.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_DECODE_KeepBrokenRes, "checkBox_DECODE_KeepBrokenRes"); + this.checkBox_DECODE_KeepBrokenRes.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_KeepBrokenRes; + this.checkBox_DECODE_KeepBrokenRes.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_KeepBrokenRes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_KeepBrokenRes.Name = "checkBox_DECODE_KeepBrokenRes"; + this.checkBox_DECODE_KeepBrokenRes.UseVisualStyleBackColor = true; // - // tabPageZipAlign + // checkBox_DECODE_NoSrc // - resources.ApplyResources(this.tabPageZipAlign, "tabPageZipAlign"); - this.tabPageZipAlign.BackColor = System.Drawing.Color.White; - this.tabPageZipAlign.Controls.Add(this.groupBox_ZIPALIGN_Options); - this.tabPageZipAlign.Name = "tabPageZipAlign"; + resources.ApplyResources(this.checkBox_DECODE_NoSrc, "checkBox_DECODE_NoSrc"); + this.checkBox_DECODE_NoSrc.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoSrc; + this.checkBox_DECODE_NoSrc.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoSrc", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_NoSrc.Name = "checkBox_DECODE_NoSrc"; + this.checkBox_DECODE_NoSrc.UseVisualStyleBackColor = true; // - // groupBox_ZIPALIGN_Options + // checkBox_DECODE_Force // - this.groupBox_ZIPALIGN_Options.Controls.Add(this.zipalignOutputDirChkBox); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.signAfterZipalignChkBox); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_Recompress); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.label_ZIPALIGN_AlignmentBytes); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.button_ZIPALIGN_BrowseOutputFile); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_CheckAlignment); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.textBox_ZIPALIGN_OutputFile); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_VerboseOutput); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.numericUpDown_ZIPALIGN_AlignmentBytes); - this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_OverwriteOutputFile); - resources.ApplyResources(this.groupBox_ZIPALIGN_Options, "groupBox_ZIPALIGN_Options"); - this.groupBox_ZIPALIGN_Options.Name = "groupBox_ZIPALIGN_Options"; - this.groupBox_ZIPALIGN_Options.TabStop = false; + resources.ApplyResources(this.checkBox_DECODE_Force, "checkBox_DECODE_Force"); + this.checkBox_DECODE_Force.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_Force; + this.checkBox_DECODE_Force.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_DECODE_Force.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_Force", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_Force.Name = "checkBox_DECODE_Force"; + this.checkBox_DECODE_Force.UseVisualStyleBackColor = true; // - // label_ZIPALIGN_AlignmentBytes + // checkBox_DECODE_NoRes // - resources.ApplyResources(this.label_ZIPALIGN_AlignmentBytes, "label_ZIPALIGN_AlignmentBytes"); - this.label_ZIPALIGN_AlignmentBytes.Name = "label_ZIPALIGN_AlignmentBytes"; + resources.ApplyResources(this.checkBox_DECODE_NoRes, "checkBox_DECODE_NoRes"); + this.checkBox_DECODE_NoRes.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoRes; + this.checkBox_DECODE_NoRes.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoRes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_NoRes.Name = "checkBox_DECODE_NoRes"; + this.checkBox_DECODE_NoRes.UseVisualStyleBackColor = true; // - // button_ZIPALIGN_BrowseOutputFile + // checkBox_DECODE_NoDebugInfo // - resources.ApplyResources(this.button_ZIPALIGN_BrowseOutputFile, "button_ZIPALIGN_BrowseOutputFile"); - this.button_ZIPALIGN_BrowseOutputFile.Name = "button_ZIPALIGN_BrowseOutputFile"; - this.button_ZIPALIGN_BrowseOutputFile.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_DECODE_NoDebugInfo, "checkBox_DECODE_NoDebugInfo"); + this.checkBox_DECODE_NoDebugInfo.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoDebugInfo; + this.checkBox_DECODE_NoDebugInfo.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoDebugInfo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_DECODE_NoDebugInfo.Name = "checkBox_DECODE_NoDebugInfo"; + this.checkBox_DECODE_NoDebugInfo.UseVisualStyleBackColor = true; // - // tabPageInstallFramework + // tabPageBuild // - this.tabPageInstallFramework.BackColor = System.Drawing.Color.White; - this.tabPageInstallFramework.Controls.Add(this.groupBox1); - this.tabPageInstallFramework.Controls.Add(this.groupBox_IF_Options); - resources.ApplyResources(this.tabPageInstallFramework, "tabPageInstallFramework"); - this.tabPageInstallFramework.Name = "tabPageInstallFramework"; + resources.ApplyResources(this.tabPageBuild, "tabPageBuild"); + this.tabPageBuild.BackColor = System.Drawing.Color.White; + this.tabPageBuild.Controls.Add(this.groupBox_BUILD_Options); + this.tabPageBuild.Name = "tabPageBuild"; // - // groupBox1 + // groupBox_BUILD_Options // - this.groupBox1.Controls.Add(this.openFwFolderBtn); - this.groupBox1.Controls.Add(this.clearFwBtn); - this.groupBox1.Controls.Add(this.clearFwBeforeDecodeChkBox); - resources.ApplyResources(this.groupBox1, "groupBox1"); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.TabStop = false; + this.groupBox_BUILD_Options.Controls.Add(this.comJobsLvlUpDown); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox4); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_NetSecConf); + this.groupBox_BUILD_Options.Controls.Add(this.useAapt2ChkBox); + this.groupBox_BUILD_Options.Controls.Add(this.buildApiLvlUpDown); + this.groupBox_BUILD_Options.Controls.Add(this.buildSetApiLvlChkBox); + this.groupBox_BUILD_Options.Controls.Add(this.createUnsignApkChkBox); + this.groupBox_BUILD_Options.Controls.Add(this.signAfterBuildChkBox); + this.groupBox_BUILD_Options.Controls.Add(this.zipalignAfterBuildChkBox); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_NoCrunch); + this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseOutputAppPath); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_ForceAll); + this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseFrameDir); + this.groupBox_BUILD_Options.Controls.Add(this.button_BUILD_BrowseAaptPath); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_OutputAppPath); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_CopyOriginal); + this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_OutputAppPath); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_UseAapt); + this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_AaptPath); + this.groupBox_BUILD_Options.Controls.Add(this.textBox_BUILD_FrameDir); + this.groupBox_BUILD_Options.Controls.Add(this.checkBox_BUILD_UseFramework); + resources.ApplyResources(this.groupBox_BUILD_Options, "groupBox_BUILD_Options"); + this.groupBox_BUILD_Options.Name = "groupBox_BUILD_Options"; + this.groupBox_BUILD_Options.TabStop = false; // - // openFwFolderBtn + // comJobsLvlUpDown // - resources.ApplyResources(this.openFwFolderBtn, "openFwFolderBtn"); - this.openFwFolderBtn.Name = "openFwFolderBtn"; - this.openFwFolderBtn.UseVisualStyleBackColor = true; + this.comJobsLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Build_Jobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + resources.ApplyResources(this.comJobsLvlUpDown, "comJobsLvlUpDown"); + this.comJobsLvlUpDown.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.comJobsLvlUpDown.Name = "comJobsLvlUpDown"; + this.comJobsLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Build_Jobs; // - // clearFwBtn + // checkBox4 // - resources.ApplyResources(this.clearFwBtn, "clearFwBtn"); - this.clearFwBtn.Name = "clearFwBtn"; - this.clearFwBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox4, "checkBox4"); + this.checkBox4.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SetJobs; + this.checkBox4.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SetJobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox4.Name = "checkBox4"; + this.checkBox4.UseVisualStyleBackColor = true; // - // groupBox_IF_Options + // checkBox_BUILD_NetSecConf // - this.groupBox_IF_Options.Controls.Add(this.checkBox_IF_Tag); - this.groupBox_IF_Options.Controls.Add(this.checkBox_IF_FramePath); - this.groupBox_IF_Options.Controls.Add(this.textBox_IF_Tag); - this.groupBox_IF_Options.Controls.Add(this.button_IF_InstallFramework); - this.groupBox_IF_Options.Controls.Add(this.button_IF_BrowseFrameDir); - this.groupBox_IF_Options.Controls.Add(this.button_IF_BrowseInputFramePath); - this.groupBox_IF_Options.Controls.Add(this.textBox_IF_InputFramePath); - this.groupBox_IF_Options.Controls.Add(this.textBox_IF_FrameDir); - resources.ApplyResources(this.groupBox_IF_Options, "groupBox_IF_Options"); - this.groupBox_IF_Options.Name = "groupBox_IF_Options"; - this.groupBox_IF_Options.TabStop = false; + resources.ApplyResources(this.checkBox_BUILD_NetSecConf, "checkBox_BUILD_NetSecConf"); + this.checkBox_BUILD_NetSecConf.Checked = global::APKToolGUI.Properties.Settings.Default.Build_NetSecConf; + this.checkBox_BUILD_NetSecConf.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_NetSecConf", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_NetSecConf.Name = "checkBox_BUILD_NetSecConf"; + this.checkBox_BUILD_NetSecConf.UseVisualStyleBackColor = true; // - // button_IF_InstallFramework + // useAapt2ChkBox // - resources.ApplyResources(this.button_IF_InstallFramework, "button_IF_InstallFramework"); - this.button_IF_InstallFramework.Name = "button_IF_InstallFramework"; - this.button_IF_InstallFramework.UseVisualStyleBackColor = true; + resources.ApplyResources(this.useAapt2ChkBox, "useAapt2ChkBox"); + this.useAapt2ChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt2; + this.useAapt2ChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.useAapt2ChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.useAapt2ChkBox.Name = "useAapt2ChkBox"; + this.useAapt2ChkBox.UseVisualStyleBackColor = true; // - // button_IF_BrowseInputFramePath + // buildApiLvlUpDown // - resources.ApplyResources(this.button_IF_BrowseInputFramePath, "button_IF_BrowseInputFramePath"); - this.button_IF_BrowseInputFramePath.Name = "button_IF_BrowseInputFramePath"; - this.button_IF_BrowseInputFramePath.UseVisualStyleBackColor = true; + this.buildApiLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Build_ApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + resources.ApplyResources(this.buildApiLvlUpDown, "buildApiLvlUpDown"); + this.buildApiLvlUpDown.Name = "buildApiLvlUpDown"; + this.buildApiLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Build_ApiLevel; // - // tabPageBaksmali + // buildSetApiLvlChkBox // - this.tabPageBaksmali.AllowDrop = true; - this.tabPageBaksmali.BackColor = System.Drawing.Color.White; - this.tabPageBaksmali.Controls.Add(this.smaliGroupBox); - this.tabPageBaksmali.Controls.Add(this.bakSmaliGroupBox); - resources.ApplyResources(this.tabPageBaksmali, "tabPageBaksmali"); - this.tabPageBaksmali.Name = "tabPageBaksmali"; + resources.ApplyResources(this.buildSetApiLvlChkBox, "buildSetApiLvlChkBox"); + this.buildSetApiLvlChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SetApiLevel; + this.buildSetApiLvlChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SetApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.buildSetApiLvlChkBox.Name = "buildSetApiLvlChkBox"; + this.buildSetApiLvlChkBox.UseVisualStyleBackColor = true; // - // smaliGroupBox + // createUnsignApkChkBox // - this.smaliGroupBox.Controls.Add(this.label29); - this.smaliGroupBox.Controls.Add(this.smaliUseOutputChkBox); - this.smaliGroupBox.Controls.Add(this.comSmaliBtn); - this.smaliGroupBox.Controls.Add(this.smaliBrowseOutputBtn); - this.smaliGroupBox.Controls.Add(this.smaliBrowseInputDirTxtBox); - this.smaliGroupBox.Controls.Add(this.smaliBrowseOutputTxtBox); - this.smaliGroupBox.Controls.Add(this.smaliBrowseInputDirBtn); - resources.ApplyResources(this.smaliGroupBox, "smaliGroupBox"); - this.smaliGroupBox.Name = "smaliGroupBox"; - this.smaliGroupBox.TabStop = false; + resources.ApplyResources(this.createUnsignApkChkBox, "createUnsignApkChkBox"); + this.createUnsignApkChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_CreateUnsignedApk; + this.createUnsignApkChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_CreateUnsignedApk", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.createUnsignApkChkBox.Name = "createUnsignApkChkBox"; + this.toolTip1.SetToolTip(this.createUnsignApkChkBox, resources.GetString("createUnsignApkChkBox.ToolTip")); + this.createUnsignApkChkBox.UseVisualStyleBackColor = true; // - // label29 + // signAfterBuildChkBox // - resources.ApplyResources(this.label29, "label29"); - this.label29.Name = "label29"; + resources.ApplyResources(this.signAfterBuildChkBox, "signAfterBuildChkBox"); + this.signAfterBuildChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SignAfterBuild; + this.signAfterBuildChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.signAfterBuildChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SignAfterBuild", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.signAfterBuildChkBox.Name = "signAfterBuildChkBox"; + this.signAfterBuildChkBox.UseVisualStyleBackColor = true; // - // comSmaliBtn + // zipalignAfterBuildChkBox // - resources.ApplyResources(this.comSmaliBtn, "comSmaliBtn"); - this.comSmaliBtn.Name = "comSmaliBtn"; - this.comSmaliBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.zipalignAfterBuildChkBox, "zipalignAfterBuildChkBox"); + this.zipalignAfterBuildChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_ZipalignAfterBuild; + this.zipalignAfterBuildChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.zipalignAfterBuildChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_ZipalignAfterBuild", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.zipalignAfterBuildChkBox.Name = "zipalignAfterBuildChkBox"; + this.zipalignAfterBuildChkBox.UseVisualStyleBackColor = true; // - // smaliBrowseOutputBtn + // checkBox_BUILD_NoCrunch // - resources.ApplyResources(this.smaliBrowseOutputBtn, "smaliBrowseOutputBtn"); - this.smaliBrowseOutputBtn.Name = "smaliBrowseOutputBtn"; - this.smaliBrowseOutputBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_BUILD_NoCrunch, "checkBox_BUILD_NoCrunch"); + this.checkBox_BUILD_NoCrunch.Checked = global::APKToolGUI.Properties.Settings.Default.Build_NoCrunch; + this.checkBox_BUILD_NoCrunch.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_NoCrunch", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_NoCrunch.Name = "checkBox_BUILD_NoCrunch"; + this.checkBox_BUILD_NoCrunch.UseVisualStyleBackColor = true; // - // smaliBrowseInputDirBtn + // button_BUILD_BrowseOutputAppPath // - resources.ApplyResources(this.smaliBrowseInputDirBtn, "smaliBrowseInputDirBtn"); - this.smaliBrowseInputDirBtn.Name = "smaliBrowseInputDirBtn"; - this.smaliBrowseInputDirBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button_BUILD_BrowseOutputAppPath, "button_BUILD_BrowseOutputAppPath"); + this.button_BUILD_BrowseOutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_BUILD_BrowseOutputAppPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; + this.button_BUILD_BrowseOutputAppPath.Name = "button_BUILD_BrowseOutputAppPath"; + this.button_BUILD_BrowseOutputAppPath.UseVisualStyleBackColor = true; // - // bakSmaliGroupBox + // checkBox_BUILD_ForceAll // - this.bakSmaliGroupBox.Controls.Add(this.label28); - this.bakSmaliGroupBox.Controls.Add(this.baksmaliUseOutputChkBox); - this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseOutputBtn); - this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseOutputTxtBox); - this.bakSmaliGroupBox.Controls.Add(this.decSmaliBtn); - this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseInputDexBtn); - this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseInputDexTxtBox); - resources.ApplyResources(this.bakSmaliGroupBox, "bakSmaliGroupBox"); - this.bakSmaliGroupBox.Name = "bakSmaliGroupBox"; - this.bakSmaliGroupBox.TabStop = false; + resources.ApplyResources(this.checkBox_BUILD_ForceAll, "checkBox_BUILD_ForceAll"); + this.checkBox_BUILD_ForceAll.Checked = global::APKToolGUI.Properties.Settings.Default.Build_ForceAll; + this.checkBox_BUILD_ForceAll.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox_BUILD_ForceAll.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_ForceAll", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_ForceAll.Name = "checkBox_BUILD_ForceAll"; + this.checkBox_BUILD_ForceAll.UseVisualStyleBackColor = true; // - // label28 + // button_BUILD_BrowseFrameDir // - resources.ApplyResources(this.label28, "label28"); - this.label28.Name = "label28"; + resources.ApplyResources(this.button_BUILD_BrowseFrameDir, "button_BUILD_BrowseFrameDir"); + this.button_BUILD_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_BUILD_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; + this.button_BUILD_BrowseFrameDir.Name = "button_BUILD_BrowseFrameDir"; + this.button_BUILD_BrowseFrameDir.UseVisualStyleBackColor = true; // - // baksmaliBrowseOutputBtn + // button_BUILD_BrowseAaptPath // - resources.ApplyResources(this.baksmaliBrowseOutputBtn, "baksmaliBrowseOutputBtn"); - this.baksmaliBrowseOutputBtn.Name = "baksmaliBrowseOutputBtn"; - this.baksmaliBrowseOutputBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button_BUILD_BrowseAaptPath, "button_BUILD_BrowseAaptPath"); + this.button_BUILD_BrowseAaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_BUILD_BrowseAaptPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; + this.button_BUILD_BrowseAaptPath.Name = "button_BUILD_BrowseAaptPath"; + this.button_BUILD_BrowseAaptPath.UseVisualStyleBackColor = true; // - // decSmaliBtn + // checkBox_BUILD_OutputAppPath // - resources.ApplyResources(this.decSmaliBtn, "decSmaliBtn"); - this.decSmaliBtn.Name = "decSmaliBtn"; - this.decSmaliBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_BUILD_OutputAppPath, "checkBox_BUILD_OutputAppPath"); + this.checkBox_BUILD_OutputAppPath.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; + this.checkBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_OutputAppPath.Name = "checkBox_BUILD_OutputAppPath"; + this.toolTip1.SetToolTip(this.checkBox_BUILD_OutputAppPath, resources.GetString("checkBox_BUILD_OutputAppPath.ToolTip")); + this.checkBox_BUILD_OutputAppPath.UseVisualStyleBackColor = true; // - // baksmaliBrowseInputDexBtn + // checkBox_BUILD_CopyOriginal // - resources.ApplyResources(this.baksmaliBrowseInputDexBtn, "baksmaliBrowseInputDexBtn"); - this.baksmaliBrowseInputDexBtn.Name = "baksmaliBrowseInputDexBtn"; - this.baksmaliBrowseInputDexBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_BUILD_CopyOriginal, "checkBox_BUILD_CopyOriginal"); + this.checkBox_BUILD_CopyOriginal.Checked = global::APKToolGUI.Properties.Settings.Default.Build_CopyOriginal; + this.checkBox_BUILD_CopyOriginal.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_CopyOriginal", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_CopyOriginal.Name = "checkBox_BUILD_CopyOriginal"; + this.checkBox_BUILD_CopyOriginal.UseVisualStyleBackColor = true; // - // tabPageAdb + // textBox_BUILD_OutputAppPath // - this.tabPageAdb.AllowDrop = true; - this.tabPageAdb.Controls.Add(this.overrideAbiComboBox); - this.tabPageAdb.Controls.Add(this.selAdbDeviceLbl); - this.tabPageAdb.Controls.Add(this.label33); - this.tabPageAdb.Controls.Add(this.killAdbBtn); - this.tabPageAdb.Controls.Add(this.installApkBtn); - this.tabPageAdb.Controls.Add(this.refreshDevicesBtn); - this.tabPageAdb.Controls.Add(this.selApkAdbBtn); - this.tabPageAdb.Controls.Add(this.overrideAbiCheckBox); - this.tabPageAdb.Controls.Add(this.setVendorChkBox); - this.tabPageAdb.Controls.Add(this.apkPathAdbTxtBox); - this.tabPageAdb.Controls.Add(this.label32); - this.tabPageAdb.Controls.Add(this.devicesListBox); - resources.ApplyResources(this.tabPageAdb, "tabPageAdb"); - this.tabPageAdb.Name = "tabPageAdb"; - this.tabPageAdb.UseVisualStyleBackColor = true; + resources.ApplyResources(this.textBox_BUILD_OutputAppPath, "textBox_BUILD_OutputAppPath"); + this.textBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_OutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_OutputAppPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; + this.textBox_BUILD_OutputAppPath.Name = "textBox_BUILD_OutputAppPath"; + this.textBox_BUILD_OutputAppPath.Text = global::APKToolGUI.Properties.Settings.Default.Build_OutputAppPath; // - // overrideAbiComboBox + // checkBox_BUILD_UseAapt // - this.overrideAbiComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.overrideAbiComboBox.FormattingEnabled = true; - this.overrideAbiComboBox.Items.AddRange(new object[] { - resources.GetString("overrideAbiComboBox.Items"), - resources.GetString("overrideAbiComboBox.Items1"), - resources.GetString("overrideAbiComboBox.Items2"), - resources.GetString("overrideAbiComboBox.Items3")}); - resources.ApplyResources(this.overrideAbiComboBox, "overrideAbiComboBox"); - this.overrideAbiComboBox.Name = "overrideAbiComboBox"; + resources.ApplyResources(this.checkBox_BUILD_UseAapt, "checkBox_BUILD_UseAapt"); + this.checkBox_BUILD_UseAapt.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; + this.checkBox_BUILD_UseAapt.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_UseAapt.Name = "checkBox_BUILD_UseAapt"; + this.checkBox_BUILD_UseAapt.UseVisualStyleBackColor = true; // - // selAdbDeviceLbl + // textBox_BUILD_AaptPath // - this.selAdbDeviceLbl.ForeColor = System.Drawing.Color.ForestGreen; - resources.ApplyResources(this.selAdbDeviceLbl, "selAdbDeviceLbl"); - this.selAdbDeviceLbl.Name = "selAdbDeviceLbl"; + resources.ApplyResources(this.textBox_BUILD_AaptPath, "textBox_BUILD_AaptPath"); + this.textBox_BUILD_AaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_AaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_AaptPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_AaptPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; + this.textBox_BUILD_AaptPath.Name = "textBox_BUILD_AaptPath"; + this.textBox_BUILD_AaptPath.Text = global::APKToolGUI.Properties.Settings.Default.Build_AaptPath; // - // label33 + // textBox_BUILD_FrameDir // - resources.ApplyResources(this.label33, "label33"); - this.label33.Name = "label33"; + resources.ApplyResources(this.textBox_BUILD_FrameDir, "textBox_BUILD_FrameDir"); + this.textBox_BUILD_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_BUILD_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; + this.textBox_BUILD_FrameDir.Name = "textBox_BUILD_FrameDir"; + this.textBox_BUILD_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; // - // killAdbBtn + // checkBox_BUILD_UseFramework // - resources.ApplyResources(this.killAdbBtn, "killAdbBtn"); - this.killAdbBtn.Name = "killAdbBtn"; - this.killAdbBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_BUILD_UseFramework, "checkBox_BUILD_UseFramework"); + this.checkBox_BUILD_UseFramework.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; + this.checkBox_BUILD_UseFramework.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_BUILD_UseFramework.Name = "checkBox_BUILD_UseFramework"; + this.checkBox_BUILD_UseFramework.UseVisualStyleBackColor = true; // - // installApkBtn + // tabPageSign // - resources.ApplyResources(this.installApkBtn, "installApkBtn"); - this.installApkBtn.Name = "installApkBtn"; - this.installApkBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.tabPageSign, "tabPageSign"); + this.tabPageSign.BackColor = System.Drawing.Color.White; + this.tabPageSign.Controls.Add(this.groupBox_SIGN_Options); + this.tabPageSign.Name = "tabPageSign"; + // + // groupBox_SIGN_Options + // + this.groupBox_SIGN_Options.Controls.Add(this.checkBox2); + this.groupBox_SIGN_Options.Controls.Add(this.checkBox1); + this.groupBox_SIGN_Options.Controls.Add(this.autoDelIdsigChkBox); + this.groupBox_SIGN_Options.Controls.Add(this.schemev4ComboBox); + this.groupBox_SIGN_Options.Controls.Add(this.label27); + this.groupBox_SIGN_Options.Controls.Add(this.schemev3ComboBox); + this.groupBox_SIGN_Options.Controls.Add(this.label26); + this.groupBox_SIGN_Options.Controls.Add(this.schemev2ComboBox); + this.groupBox_SIGN_Options.Controls.Add(this.label25); + this.groupBox_SIGN_Options.Controls.Add(this.schemev1ComboBox); + this.groupBox_SIGN_Options.Controls.Add(this.label24); + this.groupBox_SIGN_Options.Controls.Add(this.textBox3); + this.groupBox_SIGN_Options.Controls.Add(this.selectKeyStoreFileBtn); + this.groupBox_SIGN_Options.Controls.Add(this.aliasTxtBox); + this.groupBox_SIGN_Options.Controls.Add(this.useAliasChkBox); + this.groupBox_SIGN_Options.Controls.Add(this.label22); + this.groupBox_SIGN_Options.Controls.Add(this.keyStoreFileTxtBox); + this.groupBox_SIGN_Options.Controls.Add(this.label21); + this.groupBox_SIGN_Options.Controls.Add(this.label20); + this.groupBox_SIGN_Options.Controls.Add(this.useKeyStoreChkBox); + this.groupBox_SIGN_Options.Controls.Add(this.useSigningOutputDir); + this.groupBox_SIGN_Options.Controls.Add(this.label_SIGN_PrivateKey); + this.groupBox_SIGN_Options.Controls.Add(this.label_SIGN_PublicKey); + this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowseOutputFile); + this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_OutputFile); + this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowsePublicKey); + this.groupBox_SIGN_Options.Controls.Add(this.button_SIGN_BrowsePrivateKey); + this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_PublicKey); + this.groupBox_SIGN_Options.Controls.Add(this.textBox_SIGN_PrivateKey); + resources.ApplyResources(this.groupBox_SIGN_Options, "groupBox_SIGN_Options"); + this.groupBox_SIGN_Options.Name = "groupBox_SIGN_Options"; + this.groupBox_SIGN_Options.TabStop = false; // - // refreshDevicesBtn + // checkBox2 // - resources.ApplyResources(this.refreshDevicesBtn, "refreshDevicesBtn"); - this.refreshDevicesBtn.Name = "refreshDevicesBtn"; - this.refreshDevicesBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox2, "checkBox2"); + this.checkBox2.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_InstallApkAfterSign; + this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_InstallApkAfterSign", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox2.Name = "checkBox2"; + this.checkBox2.UseVisualStyleBackColor = true; // - // selApkAdbBtn + // checkBox1 // - resources.ApplyResources(this.selApkAdbBtn, "selApkAdbBtn"); - this.selApkAdbBtn.Name = "selApkAdbBtn"; - this.selApkAdbBtn.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox1, "checkBox1"); + this.checkBox1.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_OverwriteInputFile; + this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_OverwriteInputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.UseVisualStyleBackColor = true; // - // label32 + // autoDelIdsigChkBox // - resources.ApplyResources(this.label32, "label32"); - this.label32.Name = "label32"; + resources.ApplyResources(this.autoDelIdsigChkBox, "autoDelIdsigChkBox"); + this.autoDelIdsigChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.AutoDeleteIdsigFile; + this.autoDelIdsigChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.autoDelIdsigChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "AutoDeleteIdsigFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.autoDelIdsigChkBox.Name = "autoDelIdsigChkBox"; + this.autoDelIdsigChkBox.UseVisualStyleBackColor = true; // - // devicesListBox + // schemev4ComboBox // - resources.ApplyResources(this.devicesListBox, "devicesListBox"); - this.devicesListBox.FormattingEnabled = true; - this.devicesListBox.Name = "devicesListBox"; + this.schemev4ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.schemev4ComboBox.FormattingEnabled = true; + this.schemev4ComboBox.Items.AddRange(new object[] { + resources.GetString("schemev4ComboBox.Items"), + resources.GetString("schemev4ComboBox.Items1"), + resources.GetString("schemev4ComboBox.Items2")}); + resources.ApplyResources(this.schemev4ComboBox, "schemev4ComboBox"); + this.schemev4ComboBox.Name = "schemev4ComboBox"; // - // statusStrip1 + // label27 // - this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripStatusLabelStateImage, - this.toolStripStatusLabelStateText, - this.progressBar}); - resources.ApplyResources(this.statusStrip1, "statusStrip1"); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.SizingGrip = false; + resources.ApplyResources(this.label27, "label27"); + this.label27.Name = "label27"; // - // toolStripStatusLabelStateImage + // schemev3ComboBox // - this.toolStripStatusLabelStateImage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripStatusLabelStateImage.Name = "toolStripStatusLabelStateImage"; - resources.ApplyResources(this.toolStripStatusLabelStateImage, "toolStripStatusLabelStateImage"); + this.schemev3ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.schemev3ComboBox.FormattingEnabled = true; + this.schemev3ComboBox.Items.AddRange(new object[] { + resources.GetString("schemev3ComboBox.Items"), + resources.GetString("schemev3ComboBox.Items1"), + resources.GetString("schemev3ComboBox.Items2")}); + resources.ApplyResources(this.schemev3ComboBox, "schemev3ComboBox"); + this.schemev3ComboBox.Name = "schemev3ComboBox"; // - // toolStripStatusLabelStateText + // label26 // - this.toolStripStatusLabelStateText.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - resources.ApplyResources(this.toolStripStatusLabelStateText, "toolStripStatusLabelStateText"); - this.toolStripStatusLabelStateText.Name = "toolStripStatusLabelStateText"; - this.toolStripStatusLabelStateText.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; - this.toolStripStatusLabelStateText.Spring = true; - this.toolStripStatusLabelStateText.Click += new System.EventHandler(this.toolStripStatusLabelStateText_Click); + resources.ApplyResources(this.label26, "label26"); + this.label26.Name = "label26"; // - // progressBar + // schemev2ComboBox // - this.progressBar.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; - resources.ApplyResources(this.progressBar, "progressBar"); - this.progressBar.MarqueeAnimationSpeed = 30; - this.progressBar.Name = "progressBar"; - this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; - this.progressBar.Click += new System.EventHandler(this.toolStripProgressBar1_Click); + this.schemev2ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.schemev2ComboBox.FormattingEnabled = true; + this.schemev2ComboBox.Items.AddRange(new object[] { + resources.GetString("schemev2ComboBox.Items"), + resources.GetString("schemev2ComboBox.Items1"), + resources.GetString("schemev2ComboBox.Items2")}); + resources.ApplyResources(this.schemev2ComboBox, "schemev2ComboBox"); + this.schemev2ComboBox.Name = "schemev2ComboBox"; // - // contextMenuStripLog + // label25 // - this.contextMenuStripLog.ImageScalingSize = new System.Drawing.Size(20, 20); - this.contextMenuStripLog.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.copyToolStripMenuItem, - this.clearLogToolStripMenuItem}); - this.contextMenuStripLog.Name = "contextMenuStripLog"; - resources.ApplyResources(this.contextMenuStripLog, "contextMenuStripLog"); + resources.ApplyResources(this.label25, "label25"); + this.label25.Name = "label25"; // - // copyToolStripMenuItem + // schemev1ComboBox // - this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; - resources.ApplyResources(this.copyToolStripMenuItem, "copyToolStripMenuItem"); + this.schemev1ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.schemev1ComboBox.FormattingEnabled = true; + this.schemev1ComboBox.Items.AddRange(new object[] { + resources.GetString("schemev1ComboBox.Items"), + resources.GetString("schemev1ComboBox.Items1"), + resources.GetString("schemev1ComboBox.Items2")}); + resources.ApplyResources(this.schemev1ComboBox, "schemev1ComboBox"); + this.schemev1ComboBox.Name = "schemev1ComboBox"; // - // clearLogToolStripMenuItem + // label24 // - this.clearLogToolStripMenuItem.Name = "clearLogToolStripMenuItem"; - resources.ApplyResources(this.clearLogToolStripMenuItem, "clearLogToolStripMenuItem"); + resources.ApplyResources(this.label24, "label24"); + this.label24.Name = "label24"; // - // logTxtBox + // textBox3 // - resources.ApplyResources(this.logTxtBox, "logTxtBox"); - this.logTxtBox.ContextMenuStrip = this.contextMenuStripLog; - this.logTxtBox.HideSelection = false; - this.logTxtBox.Name = "logTxtBox"; - this.logTxtBox.ReadOnly = true; - this.logTxtBox.TabStop = false; + resources.ApplyResources(this.textBox3, "textBox3"); + this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_KeystorePassword", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox3.Name = "textBox3"; + this.textBox3.Text = global::APKToolGUI.Properties.Settings.Default.Sign_KeystorePassword; + this.textBox3.UseSystemPasswordChar = true; // - // menuStrip1 + // selectKeyStoreFileBtn // - this.menuStrip1.GripMargin = new System.Windows.Forms.Padding(2); - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.fileToolStripMenuItem, - this.settingsToolStripMenuItem1, - this.helpToolStripMenuItem}); - resources.ApplyResources(this.menuStrip1, "menuStrip1"); - this.menuStrip1.Name = "menuStrip1"; + resources.ApplyResources(this.selectKeyStoreFileBtn, "selectKeyStoreFileBtn"); + this.selectKeyStoreFileBtn.Name = "selectKeyStoreFileBtn"; + this.selectKeyStoreFileBtn.UseVisualStyleBackColor = true; // - // fileToolStripMenuItem + // aliasTxtBox // - this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.newInsToolStripMenuItem, - this.saveLogToFileToolStripMenuItem, - this.toolStripMenuItem1, - this.openTempFolderToolStripMenuItem, - this.clearTempFolderToolStripMenuItem, - this.toolStripMenuItem2, - this.exitToolStripMenuItem}); - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); + resources.ApplyResources(this.aliasTxtBox, "aliasTxtBox"); + this.aliasTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_Alias", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.aliasTxtBox.Name = "aliasTxtBox"; + this.aliasTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Sign_Alias; // - // newInsToolStripMenuItem + // useAliasChkBox // - this.newInsToolStripMenuItem.Name = "newInsToolStripMenuItem"; - resources.ApplyResources(this.newInsToolStripMenuItem, "newInsToolStripMenuItem"); + resources.ApplyResources(this.useAliasChkBox, "useAliasChkBox"); + this.useAliasChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_SetAlias; + this.useAliasChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.useAliasChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_SetAlias", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.useAliasChkBox.Name = "useAliasChkBox"; + this.useAliasChkBox.UseVisualStyleBackColor = true; // - // saveLogToFileToolStripMenuItem + // label22 // - this.saveLogToFileToolStripMenuItem.Name = "saveLogToFileToolStripMenuItem"; - resources.ApplyResources(this.saveLogToFileToolStripMenuItem, "saveLogToFileToolStripMenuItem"); + this.label22.ForeColor = System.Drawing.Color.Maroon; + resources.ApplyResources(this.label22, "label22"); + this.label22.Name = "label22"; // - // toolStripMenuItem1 + // keyStoreFileTxtBox // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1"); + resources.ApplyResources(this.keyStoreFileTxtBox, "keyStoreFileTxtBox"); + this.keyStoreFileTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_KeystoreFilePath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.keyStoreFileTxtBox.Name = "keyStoreFileTxtBox"; + this.keyStoreFileTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Sign_KeystoreFilePath; // - // openTempFolderToolStripMenuItem + // label21 // - this.openTempFolderToolStripMenuItem.Name = "openTempFolderToolStripMenuItem"; - resources.ApplyResources(this.openTempFolderToolStripMenuItem, "openTempFolderToolStripMenuItem"); + resources.ApplyResources(this.label21, "label21"); + this.label21.Name = "label21"; // - // clearTempFolderToolStripMenuItem + // label20 // - this.clearTempFolderToolStripMenuItem.Name = "clearTempFolderToolStripMenuItem"; - resources.ApplyResources(this.clearTempFolderToolStripMenuItem, "clearTempFolderToolStripMenuItem"); - this.clearTempFolderToolStripMenuItem.Click += new System.EventHandler(this.clearTempFolderToolStripMenuItem_Click); + resources.ApplyResources(this.label20, "label20"); + this.label20.Name = "label20"; // - // toolStripMenuItem2 + // useKeyStoreChkBox // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2"); + resources.ApplyResources(this.useKeyStoreChkBox, "useKeyStoreChkBox"); + this.useKeyStoreChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_UseKeystoreFile; + this.useKeyStoreChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_UseKeystoreFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.useKeyStoreChkBox.Name = "useKeyStoreChkBox"; + this.useKeyStoreChkBox.UseVisualStyleBackColor = true; // - // exitToolStripMenuItem + // useSigningOutputDir // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); + resources.ApplyResources(this.useSigningOutputDir, "useSigningOutputDir"); + this.useSigningOutputDir.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_UseOutputDir; + this.useSigningOutputDir.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.useSigningOutputDir.Name = "useSigningOutputDir"; + this.useSigningOutputDir.UseVisualStyleBackColor = true; // - // settingsToolStripMenuItem1 + // label_SIGN_PrivateKey // - this.settingsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.useAPKEditorForDecompilingItem, - this.settingsToolStripMenuItem}); - this.settingsToolStripMenuItem1.Name = "settingsToolStripMenuItem1"; - resources.ApplyResources(this.settingsToolStripMenuItem1, "settingsToolStripMenuItem1"); + resources.ApplyResources(this.label_SIGN_PrivateKey, "label_SIGN_PrivateKey"); + this.label_SIGN_PrivateKey.Name = "label_SIGN_PrivateKey"; // - // settingsToolStripMenuItem + // label_SIGN_PublicKey // - this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - resources.ApplyResources(this.settingsToolStripMenuItem, "settingsToolStripMenuItem"); + resources.ApplyResources(this.label_SIGN_PublicKey, "label_SIGN_PublicKey"); + this.label_SIGN_PublicKey.Name = "label_SIGN_PublicKey"; // - // helpToolStripMenuItem + // button_SIGN_BrowseOutputFile // - this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.checkForUpdateToolStripMenuItem, - this.reportAnIsuueToolStripMenuItem, - this.apktoolIssuesToolStripMenuItem, - this.baksmaliIssuesToolStripMenuItem, - this.aboutToolStripMenuItem}); - this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; - resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem"); + resources.ApplyResources(this.button_SIGN_BrowseOutputFile, "button_SIGN_BrowseOutputFile"); + this.button_SIGN_BrowseOutputFile.Name = "button_SIGN_BrowseOutputFile"; + this.button_SIGN_BrowseOutputFile.UseVisualStyleBackColor = true; // - // checkForUpdateToolStripMenuItem + // textBox_SIGN_OutputFile // - this.checkForUpdateToolStripMenuItem.Name = "checkForUpdateToolStripMenuItem"; - resources.ApplyResources(this.checkForUpdateToolStripMenuItem, "checkForUpdateToolStripMenuItem"); + resources.ApplyResources(this.textBox_SIGN_OutputFile, "textBox_SIGN_OutputFile"); + this.textBox_SIGN_OutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_SIGN_OutputFile.Name = "textBox_SIGN_OutputFile"; + this.textBox_SIGN_OutputFile.Text = global::APKToolGUI.Properties.Settings.Default.Sign_OutputDir; // - // reportAnIsuueToolStripMenuItem + // button_SIGN_BrowsePublicKey // - this.reportAnIsuueToolStripMenuItem.Name = "reportAnIsuueToolStripMenuItem"; - resources.ApplyResources(this.reportAnIsuueToolStripMenuItem, "reportAnIsuueToolStripMenuItem"); + resources.ApplyResources(this.button_SIGN_BrowsePublicKey, "button_SIGN_BrowsePublicKey"); + this.button_SIGN_BrowsePublicKey.Name = "button_SIGN_BrowsePublicKey"; + this.button_SIGN_BrowsePublicKey.UseVisualStyleBackColor = true; // - // apktoolIssuesToolStripMenuItem + // button_SIGN_BrowsePrivateKey // - this.apktoolIssuesToolStripMenuItem.Name = "apktoolIssuesToolStripMenuItem"; - resources.ApplyResources(this.apktoolIssuesToolStripMenuItem, "apktoolIssuesToolStripMenuItem"); + resources.ApplyResources(this.button_SIGN_BrowsePrivateKey, "button_SIGN_BrowsePrivateKey"); + this.button_SIGN_BrowsePrivateKey.Name = "button_SIGN_BrowsePrivateKey"; + this.button_SIGN_BrowsePrivateKey.UseVisualStyleBackColor = true; // - // baksmaliIssuesToolStripMenuItem + // textBox_SIGN_PublicKey // - this.baksmaliIssuesToolStripMenuItem.Name = "baksmaliIssuesToolStripMenuItem"; - resources.ApplyResources(this.baksmaliIssuesToolStripMenuItem, "baksmaliIssuesToolStripMenuItem"); + resources.ApplyResources(this.textBox_SIGN_PublicKey, "textBox_SIGN_PublicKey"); + this.textBox_SIGN_PublicKey.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_PublicKey", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_SIGN_PublicKey.Name = "textBox_SIGN_PublicKey"; + this.textBox_SIGN_PublicKey.Text = global::APKToolGUI.Properties.Settings.Default.Sign_PublicKey; // - // aboutToolStripMenuItem + // textBox_SIGN_PrivateKey // - this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; - resources.ApplyResources(this.aboutToolStripMenuItem, "aboutToolStripMenuItem"); + resources.ApplyResources(this.textBox_SIGN_PrivateKey, "textBox_SIGN_PrivateKey"); + this.textBox_SIGN_PrivateKey.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_PrivateKey", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_SIGN_PrivateKey.Name = "textBox_SIGN_PrivateKey"; + this.textBox_SIGN_PrivateKey.Text = global::APKToolGUI.Properties.Settings.Default.Sign_PrivateKey; // - // toolTip1 + // tabPageZipAlign // - this.toolTip1.AutoPopDelay = 10000; - this.toolTip1.InitialDelay = 500; - this.toolTip1.ReshowDelay = 100; + resources.ApplyResources(this.tabPageZipAlign, "tabPageZipAlign"); + this.tabPageZipAlign.BackColor = System.Drawing.Color.White; + this.tabPageZipAlign.Controls.Add(this.groupBox_ZIPALIGN_Options); + this.tabPageZipAlign.Name = "tabPageZipAlign"; // - // useAPKEditorForDecompilingItem + // groupBox_ZIPALIGN_Options // - this.useAPKEditorForDecompilingItem.Checked = global::APKToolGUI.Properties.Settings.Default.UseApkeditor; - this.useAPKEditorForDecompilingItem.CheckOnClick = true; - this.useAPKEditorForDecompilingItem.Name = "useAPKEditorForDecompilingItem"; - resources.ApplyResources(this.useAPKEditorForDecompilingItem, "useAPKEditorForDecompilingItem"); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.zipalignOutputDirChkBox); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.signAfterZipalignChkBox); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_Recompress); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.label_ZIPALIGN_AlignmentBytes); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.button_ZIPALIGN_BrowseOutputFile); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_CheckAlignment); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.textBox_ZIPALIGN_OutputFile); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_VerboseOutput); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.numericUpDown_ZIPALIGN_AlignmentBytes); + this.groupBox_ZIPALIGN_Options.Controls.Add(this.checkBox_ZIPALIGN_OverwriteOutputFile); + resources.ApplyResources(this.groupBox_ZIPALIGN_Options, "groupBox_ZIPALIGN_Options"); + this.groupBox_ZIPALIGN_Options.Name = "groupBox_ZIPALIGN_Options"; + this.groupBox_ZIPALIGN_Options.TabStop = false; // - // splitApkPathTxtBox + // zipalignOutputDirChkBox // - this.splitApkPathTxtBox.AllowDrop = true; - resources.ApplyResources(this.splitApkPathTxtBox, "splitApkPathTxtBox"); - this.splitApkPathTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "SplitApk_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.splitApkPathTxtBox.Name = "splitApkPathTxtBox"; - this.splitApkPathTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.SplitApk_InputFile; + resources.ApplyResources(this.zipalignOutputDirChkBox, "zipalignOutputDirChkBox"); + this.zipalignOutputDirChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_UseOutputDir; + this.zipalignOutputDirChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.zipalignOutputDirChkBox.Name = "zipalignOutputDirChkBox"; + this.zipalignOutputDirChkBox.UseVisualStyleBackColor = true; // - // textBox_SIGN_InputFile + // signAfterZipalignChkBox // - this.textBox_SIGN_InputFile.AllowDrop = true; - resources.ApplyResources(this.textBox_SIGN_InputFile, "textBox_SIGN_InputFile"); - this.textBox_SIGN_InputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_SIGN_InputFile.Name = "textBox_SIGN_InputFile"; - this.textBox_SIGN_InputFile.Text = global::APKToolGUI.Properties.Settings.Default.Sign_InputFile; + resources.ApplyResources(this.signAfterZipalignChkBox, "signAfterZipalignChkBox"); + this.signAfterZipalignChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_SignAfterZipAlign; + this.signAfterZipalignChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.signAfterZipalignChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_SignAfterZipAlign", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.signAfterZipalignChkBox.Name = "signAfterZipalignChkBox"; + this.signAfterZipalignChkBox.UseVisualStyleBackColor = true; // - // textBox_ZIPALIGN_InputFile + // checkBox_ZIPALIGN_Recompress // - this.textBox_ZIPALIGN_InputFile.AllowDrop = true; - resources.ApplyResources(this.textBox_ZIPALIGN_InputFile, "textBox_ZIPALIGN_InputFile"); - this.textBox_ZIPALIGN_InputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Zipalign_InputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_ZIPALIGN_InputFile.Name = "textBox_ZIPALIGN_InputFile"; - this.textBox_ZIPALIGN_InputFile.Text = global::APKToolGUI.Properties.Settings.Default.Zipalign_InputFile; + resources.ApplyResources(this.checkBox_ZIPALIGN_Recompress, "checkBox_ZIPALIGN_Recompress"); + this.checkBox_ZIPALIGN_Recompress.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_Recompress; + this.checkBox_ZIPALIGN_Recompress.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_Recompress", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_ZIPALIGN_Recompress.Name = "checkBox_ZIPALIGN_Recompress"; + this.checkBox_ZIPALIGN_Recompress.UseVisualStyleBackColor = true; // - // textBox_BUILD_InputProjectDir + // label_ZIPALIGN_AlignmentBytes // - this.textBox_BUILD_InputProjectDir.AllowDrop = true; - resources.ApplyResources(this.textBox_BUILD_InputProjectDir, "textBox_BUILD_InputProjectDir"); - this.textBox_BUILD_InputProjectDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_InputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_InputProjectDir.Name = "textBox_BUILD_InputProjectDir"; - this.textBox_BUILD_InputProjectDir.Text = global::APKToolGUI.Properties.Settings.Default.Build_InputDir; + resources.ApplyResources(this.label_ZIPALIGN_AlignmentBytes, "label_ZIPALIGN_AlignmentBytes"); + this.label_ZIPALIGN_AlignmentBytes.Name = "label_ZIPALIGN_AlignmentBytes"; // - // textBox_DECODE_InputAppPath + // button_ZIPALIGN_BrowseOutputFile // - this.textBox_DECODE_InputAppPath.AllowDrop = true; - resources.ApplyResources(this.textBox_DECODE_InputAppPath, "textBox_DECODE_InputAppPath"); - this.textBox_DECODE_InputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Decode_InputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_DECODE_InputAppPath.Name = "textBox_DECODE_InputAppPath"; - this.textBox_DECODE_InputAppPath.Text = global::APKToolGUI.Properties.Settings.Default.Decode_InputAppPath; + resources.ApplyResources(this.button_ZIPALIGN_BrowseOutputFile, "button_ZIPALIGN_BrowseOutputFile"); + this.button_ZIPALIGN_BrowseOutputFile.Name = "button_ZIPALIGN_BrowseOutputFile"; + this.button_ZIPALIGN_BrowseOutputFile.UseVisualStyleBackColor = true; // - // decJobsLvlUpDown + // checkBox_ZIPALIGN_CheckAlignment // - this.decJobsLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Decode_Jobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - resources.ApplyResources(this.decJobsLvlUpDown, "decJobsLvlUpDown"); - this.decJobsLvlUpDown.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.decJobsLvlUpDown.Name = "decJobsLvlUpDown"; - this.decJobsLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Decode_Jobs; + resources.ApplyResources(this.checkBox_ZIPALIGN_CheckAlignment, "checkBox_ZIPALIGN_CheckAlignment"); + this.checkBox_ZIPALIGN_CheckAlignment.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_CheckOnly; + this.checkBox_ZIPALIGN_CheckAlignment.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_CheckOnly", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_ZIPALIGN_CheckAlignment.Name = "checkBox_ZIPALIGN_CheckAlignment"; + this.checkBox_ZIPALIGN_CheckAlignment.UseVisualStyleBackColor = true; // - // checkBox3 + // textBox_ZIPALIGN_OutputFile // - resources.ApplyResources(this.checkBox3, "checkBox3"); - this.checkBox3.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_SetJobs; - this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_SetJobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox3.Name = "checkBox3"; - this.checkBox3.UseVisualStyleBackColor = true; + resources.ApplyResources(this.textBox_ZIPALIGN_OutputFile, "textBox_ZIPALIGN_OutputFile"); + this.textBox_ZIPALIGN_OutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Zipalign_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_ZIPALIGN_OutputFile.Name = "textBox_ZIPALIGN_OutputFile"; + this.textBox_ZIPALIGN_OutputFile.Text = global::APKToolGUI.Properties.Settings.Default.Zipalign_OutputDir; // - // checkBox7 + // checkBox_ZIPALIGN_VerboseOutput // - resources.ApplyResources(this.checkBox7, "checkBox7"); - this.checkBox7.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_DontParseApkInfo; - this.checkBox7.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_DontParseApkInfo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox7.Name = "checkBox7"; - this.checkBox7.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_ZIPALIGN_VerboseOutput, "checkBox_ZIPALIGN_VerboseOutput"); + this.checkBox_ZIPALIGN_VerboseOutput.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_Verbose; + this.checkBox_ZIPALIGN_VerboseOutput.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_Verbose", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_ZIPALIGN_VerboseOutput.Name = "checkBox_ZIPALIGN_VerboseOutput"; + this.checkBox_ZIPALIGN_VerboseOutput.UseVisualStyleBackColor = true; // - // decApiLvlUpDown + // numericUpDown_ZIPALIGN_AlignmentBytes // - this.decApiLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Decode_ApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - resources.ApplyResources(this.decApiLvlUpDown, "decApiLvlUpDown"); - this.decApiLvlUpDown.Name = "decApiLvlUpDown"; - this.decApiLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Decode_ApiLevel; + this.numericUpDown_ZIPALIGN_AlignmentBytes.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Zipalign_AlignmentInBytes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + resources.ApplyResources(this.numericUpDown_ZIPALIGN_AlignmentBytes, "numericUpDown_ZIPALIGN_AlignmentBytes"); + this.numericUpDown_ZIPALIGN_AlignmentBytes.Maximum = new decimal(new int[] { + 32, + 0, + 0, + 0}); + this.numericUpDown_ZIPALIGN_AlignmentBytes.Name = "numericUpDown_ZIPALIGN_AlignmentBytes"; + this.numericUpDown_ZIPALIGN_AlignmentBytes.Value = global::APKToolGUI.Properties.Settings.Default.Zipalign_AlignmentInBytes; // - // decSetApiLvlChkBox + // checkBox_ZIPALIGN_OverwriteOutputFile // - resources.ApplyResources(this.decSetApiLvlChkBox, "decSetApiLvlChkBox"); - this.decSetApiLvlChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_SetApiLevel; - this.decSetApiLvlChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_SetApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.decSetApiLvlChkBox.Name = "decSetApiLvlChkBox"; - this.decSetApiLvlChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_ZIPALIGN_OverwriteOutputFile, "checkBox_ZIPALIGN_OverwriteOutputFile"); + this.checkBox_ZIPALIGN_OverwriteOutputFile.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_OverwriteOutputFile; + this.checkBox_ZIPALIGN_OverwriteOutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_OverwriteOutputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_ZIPALIGN_OverwriteOutputFile.Name = "checkBox_ZIPALIGN_OverwriteOutputFile"; + this.checkBox_ZIPALIGN_OverwriteOutputFile.UseVisualStyleBackColor = true; // - // checkBox_DECODE_FixError + // tabPageInstallFramework // - resources.ApplyResources(this.checkBox_DECODE_FixError, "checkBox_DECODE_FixError"); - this.checkBox_DECODE_FixError.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_FixError; - this.checkBox_DECODE_FixError.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox_DECODE_FixError.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_FixError", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_FixError.Name = "checkBox_DECODE_FixError"; - this.toolTip1.SetToolTip(this.checkBox_DECODE_FixError, resources.GetString("checkBox_DECODE_FixError.ToolTip")); - this.checkBox_DECODE_FixError.UseVisualStyleBackColor = true; + this.tabPageInstallFramework.BackColor = System.Drawing.Color.White; + this.tabPageInstallFramework.Controls.Add(this.groupBox1); + this.tabPageInstallFramework.Controls.Add(this.groupBox_IF_Options); + resources.ApplyResources(this.tabPageInstallFramework, "tabPageInstallFramework"); + this.tabPageInstallFramework.Name = "tabPageInstallFramework"; // - // checkBox_DECODE_OnlyMainClasses + // groupBox1 // - resources.ApplyResources(this.checkBox_DECODE_OnlyMainClasses, "checkBox_DECODE_OnlyMainClasses"); - this.checkBox_DECODE_OnlyMainClasses.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_OnlyMainClasses; - this.checkBox_DECODE_OnlyMainClasses.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox_DECODE_OnlyMainClasses.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_OnlyMainClasses", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_OnlyMainClasses.Name = "checkBox_DECODE_OnlyMainClasses"; - this.toolTip1.SetToolTip(this.checkBox_DECODE_OnlyMainClasses, resources.GetString("checkBox_DECODE_OnlyMainClasses.ToolTip")); - this.checkBox_DECODE_OnlyMainClasses.UseVisualStyleBackColor = true; + this.groupBox1.Controls.Add(this.openFwFolderBtn); + this.groupBox1.Controls.Add(this.clearFwBtn); + this.groupBox1.Controls.Add(this.clearFwBeforeDecodeChkBox); + resources.ApplyResources(this.groupBox1, "groupBox1"); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.TabStop = false; // - // textBox_DECODE_FrameDir + // openFwFolderBtn // - resources.ApplyResources(this.textBox_DECODE_FrameDir, "textBox_DECODE_FrameDir"); - this.textBox_DECODE_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_DECODE_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_DECODE_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; - this.textBox_DECODE_FrameDir.Name = "textBox_DECODE_FrameDir"; - this.textBox_DECODE_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; + resources.ApplyResources(this.openFwFolderBtn, "openFwFolderBtn"); + this.openFwFolderBtn.Name = "openFwFolderBtn"; + this.openFwFolderBtn.UseVisualStyleBackColor = true; // - // button_DECODE_BrowseOutputDirectory + // clearFwBtn // - resources.ApplyResources(this.button_DECODE_BrowseOutputDirectory, "button_DECODE_BrowseOutputDirectory"); - this.button_DECODE_BrowseOutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_DECODE_BrowseOutputDirectory.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; - this.button_DECODE_BrowseOutputDirectory.Name = "button_DECODE_BrowseOutputDirectory"; - this.button_DECODE_BrowseOutputDirectory.UseVisualStyleBackColor = true; + resources.ApplyResources(this.clearFwBtn, "clearFwBtn"); + this.clearFwBtn.Name = "clearFwBtn"; + this.clearFwBtn.UseVisualStyleBackColor = true; // - // checkBox_DECODE_UseFramework + // clearFwBeforeDecodeChkBox // - resources.ApplyResources(this.checkBox_DECODE_UseFramework, "checkBox_DECODE_UseFramework"); - this.checkBox_DECODE_UseFramework.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; - this.checkBox_DECODE_UseFramework.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_UseFramework.Name = "checkBox_DECODE_UseFramework"; - this.checkBox_DECODE_UseFramework.UseVisualStyleBackColor = true; + resources.ApplyResources(this.clearFwBeforeDecodeChkBox, "clearFwBeforeDecodeChkBox"); + this.clearFwBeforeDecodeChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Framework_ClearBeforeDecode; + this.clearFwBeforeDecodeChkBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.clearFwBeforeDecodeChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Framework_ClearBeforeDecode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.clearFwBeforeDecodeChkBox.Name = "clearFwBeforeDecodeChkBox"; + this.clearFwBeforeDecodeChkBox.UseVisualStyleBackColor = true; // - // button_DECODE_BrowseFrameDir + // groupBox_IF_Options // - resources.ApplyResources(this.button_DECODE_BrowseFrameDir, "button_DECODE_BrowseFrameDir"); - this.button_DECODE_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_DECODE_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseFramework; - this.button_DECODE_BrowseFrameDir.Name = "button_DECODE_BrowseFrameDir"; - this.button_DECODE_BrowseFrameDir.UseVisualStyleBackColor = true; + this.groupBox_IF_Options.Controls.Add(this.checkBox_IF_Tag); + this.groupBox_IF_Options.Controls.Add(this.checkBox_IF_FramePath); + this.groupBox_IF_Options.Controls.Add(this.textBox_IF_Tag); + this.groupBox_IF_Options.Controls.Add(this.button_IF_InstallFramework); + this.groupBox_IF_Options.Controls.Add(this.button_IF_BrowseFrameDir); + this.groupBox_IF_Options.Controls.Add(this.button_IF_BrowseInputFramePath); + this.groupBox_IF_Options.Controls.Add(this.textBox_IF_InputFramePath); + this.groupBox_IF_Options.Controls.Add(this.textBox_IF_FrameDir); + resources.ApplyResources(this.groupBox_IF_Options, "groupBox_IF_Options"); + this.groupBox_IF_Options.Name = "groupBox_IF_Options"; + this.groupBox_IF_Options.TabStop = false; // - // checkBox_DECODE_MatchOriginal + // checkBox_IF_Tag // - resources.ApplyResources(this.checkBox_DECODE_MatchOriginal, "checkBox_DECODE_MatchOriginal"); - this.checkBox_DECODE_MatchOriginal.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_MatchOriginal; - this.checkBox_DECODE_MatchOriginal.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_MatchOriginal", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_MatchOriginal.Name = "checkBox_DECODE_MatchOriginal"; - this.checkBox_DECODE_MatchOriginal.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_IF_Tag, "checkBox_IF_Tag"); + this.checkBox_IF_Tag.Checked = global::APKToolGUI.Properties.Settings.Default.InstallFramework_UseTag; + this.checkBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_UseTag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_IF_Tag.Name = "checkBox_IF_Tag"; + this.checkBox_IF_Tag.UseVisualStyleBackColor = true; // - // checkBox_DECODE_OutputDirectory + // checkBox_IF_FramePath // - resources.ApplyResources(this.checkBox_DECODE_OutputDirectory, "checkBox_DECODE_OutputDirectory"); - this.checkBox_DECODE_OutputDirectory.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; - this.checkBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_OutputDirectory.Name = "checkBox_DECODE_OutputDirectory"; - this.checkBox_DECODE_OutputDirectory.UseVisualStyleBackColor = true; + resources.ApplyResources(this.checkBox_IF_FramePath, "checkBox_IF_FramePath"); + this.checkBox_IF_FramePath.Checked = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; + this.checkBox_IF_FramePath.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.checkBox_IF_FramePath.Name = "checkBox_IF_FramePath"; + this.checkBox_IF_FramePath.UseVisualStyleBackColor = true; // - // textBox_DECODE_OutputDirectory + // textBox_IF_Tag // - resources.ApplyResources(this.textBox_DECODE_OutputDirectory, "textBox_DECODE_OutputDirectory"); - this.textBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Decode_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_DECODE_OutputDirectory.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Decode_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_DECODE_OutputDirectory.Enabled = global::APKToolGUI.Properties.Settings.Default.Decode_UseOutputDir; - this.textBox_DECODE_OutputDirectory.Name = "textBox_DECODE_OutputDirectory"; - this.textBox_DECODE_OutputDirectory.Text = global::APKToolGUI.Properties.Settings.Default.Decode_OutputDir; + resources.ApplyResources(this.textBox_IF_Tag, "textBox_IF_Tag"); + this.textBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_Tag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_UseTag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_IF_Tag.Enabled = global::APKToolGUI.Properties.Settings.Default.InstallFramework_UseTag; + this.textBox_IF_Tag.Name = "textBox_IF_Tag"; + this.textBox_IF_Tag.Text = global::APKToolGUI.Properties.Settings.Default.InstallFramework_Tag; // - // checkBox_DECODE_KeepBrokenRes + // button_IF_InstallFramework // - resources.ApplyResources(this.checkBox_DECODE_KeepBrokenRes, "checkBox_DECODE_KeepBrokenRes"); - this.checkBox_DECODE_KeepBrokenRes.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_KeepBrokenRes; - this.checkBox_DECODE_KeepBrokenRes.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_KeepBrokenRes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_KeepBrokenRes.Name = "checkBox_DECODE_KeepBrokenRes"; - this.checkBox_DECODE_KeepBrokenRes.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button_IF_InstallFramework, "button_IF_InstallFramework"); + this.button_IF_InstallFramework.Name = "button_IF_InstallFramework"; + this.button_IF_InstallFramework.UseVisualStyleBackColor = true; // - // checkBox_DECODE_NoSrc + // button_IF_BrowseFrameDir // - resources.ApplyResources(this.checkBox_DECODE_NoSrc, "checkBox_DECODE_NoSrc"); - this.checkBox_DECODE_NoSrc.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoSrc; - this.checkBox_DECODE_NoSrc.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoSrc", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_NoSrc.Name = "checkBox_DECODE_NoSrc"; - this.checkBox_DECODE_NoSrc.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button_IF_BrowseFrameDir, "button_IF_BrowseFrameDir"); + this.button_IF_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.button_IF_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; + this.button_IF_BrowseFrameDir.Name = "button_IF_BrowseFrameDir"; + this.button_IF_BrowseFrameDir.UseVisualStyleBackColor = true; // - // checkBox_DECODE_Force + // button_IF_BrowseInputFramePath // - resources.ApplyResources(this.checkBox_DECODE_Force, "checkBox_DECODE_Force"); - this.checkBox_DECODE_Force.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_Force; - this.checkBox_DECODE_Force.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox_DECODE_Force.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_Force", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_Force.Name = "checkBox_DECODE_Force"; - this.checkBox_DECODE_Force.UseVisualStyleBackColor = true; + resources.ApplyResources(this.button_IF_BrowseInputFramePath, "button_IF_BrowseInputFramePath"); + this.button_IF_BrowseInputFramePath.Name = "button_IF_BrowseInputFramePath"; + this.button_IF_BrowseInputFramePath.UseVisualStyleBackColor = true; // - // checkBox_DECODE_NoRes + // textBox_IF_InputFramePath // - resources.ApplyResources(this.checkBox_DECODE_NoRes, "checkBox_DECODE_NoRes"); - this.checkBox_DECODE_NoRes.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoRes; - this.checkBox_DECODE_NoRes.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoRes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_NoRes.Name = "checkBox_DECODE_NoRes"; - this.checkBox_DECODE_NoRes.UseVisualStyleBackColor = true; + resources.ApplyResources(this.textBox_IF_InputFramePath, "textBox_IF_InputFramePath"); + this.textBox_IF_InputFramePath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_InputFramePath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_IF_InputFramePath.Name = "textBox_IF_InputFramePath"; + this.textBox_IF_InputFramePath.Text = global::APKToolGUI.Properties.Settings.Default.InstallFramework_InputFramePath; // - // checkBox_DECODE_NoDebugInfo + // textBox_IF_FrameDir // - resources.ApplyResources(this.checkBox_DECODE_NoDebugInfo, "checkBox_DECODE_NoDebugInfo"); - this.checkBox_DECODE_NoDebugInfo.Checked = global::APKToolGUI.Properties.Settings.Default.Decode_NoDebugInfo; - this.checkBox_DECODE_NoDebugInfo.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Decode_NoDebugInfo", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_DECODE_NoDebugInfo.Name = "checkBox_DECODE_NoDebugInfo"; - this.checkBox_DECODE_NoDebugInfo.UseVisualStyleBackColor = true; + resources.ApplyResources(this.textBox_IF_FrameDir, "textBox_IF_FrameDir"); + this.textBox_IF_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_IF_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.textBox_IF_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; + this.textBox_IF_FrameDir.Name = "textBox_IF_FrameDir"; + this.textBox_IF_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; // - // comJobsLvlUpDown + // tabPageBaksmali // - this.comJobsLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Build_Jobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - resources.ApplyResources(this.comJobsLvlUpDown, "comJobsLvlUpDown"); - this.comJobsLvlUpDown.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.comJobsLvlUpDown.Name = "comJobsLvlUpDown"; - this.comJobsLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Build_Jobs; + this.tabPageBaksmali.AllowDrop = true; + this.tabPageBaksmali.BackColor = System.Drawing.Color.White; + this.tabPageBaksmali.Controls.Add(this.smaliGroupBox); + this.tabPageBaksmali.Controls.Add(this.bakSmaliGroupBox); + resources.ApplyResources(this.tabPageBaksmali, "tabPageBaksmali"); + this.tabPageBaksmali.Name = "tabPageBaksmali"; // - // checkBox4 + // smaliGroupBox // - resources.ApplyResources(this.checkBox4, "checkBox4"); - this.checkBox4.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SetJobs; - this.checkBox4.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SetJobs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox4.Name = "checkBox4"; - this.checkBox4.UseVisualStyleBackColor = true; + this.smaliGroupBox.Controls.Add(this.label29); + this.smaliGroupBox.Controls.Add(this.smaliUseOutputChkBox); + this.smaliGroupBox.Controls.Add(this.comSmaliBtn); + this.smaliGroupBox.Controls.Add(this.smaliBrowseOutputBtn); + this.smaliGroupBox.Controls.Add(this.smaliBrowseInputDirTxtBox); + this.smaliGroupBox.Controls.Add(this.smaliBrowseOutputTxtBox); + this.smaliGroupBox.Controls.Add(this.smaliBrowseInputDirBtn); + resources.ApplyResources(this.smaliGroupBox, "smaliGroupBox"); + this.smaliGroupBox.Name = "smaliGroupBox"; + this.smaliGroupBox.TabStop = false; // - // checkBox_BUILD_NetSecConf + // label29 // - resources.ApplyResources(this.checkBox_BUILD_NetSecConf, "checkBox_BUILD_NetSecConf"); - this.checkBox_BUILD_NetSecConf.Checked = global::APKToolGUI.Properties.Settings.Default.Build_NetSecConf; - this.checkBox_BUILD_NetSecConf.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_NetSecConf", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_NetSecConf.Name = "checkBox_BUILD_NetSecConf"; - this.checkBox_BUILD_NetSecConf.UseVisualStyleBackColor = true; + resources.ApplyResources(this.label29, "label29"); + this.label29.Name = "label29"; // - // useAapt2ChkBox + // smaliUseOutputChkBox // - resources.ApplyResources(this.useAapt2ChkBox, "useAapt2ChkBox"); - this.useAapt2ChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt2; - this.useAapt2ChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.useAapt2ChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt2", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.useAapt2ChkBox.Name = "useAapt2ChkBox"; - this.useAapt2ChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.smaliUseOutputChkBox, "smaliUseOutputChkBox"); + this.smaliUseOutputChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Smali_UseOutputDir; + this.smaliUseOutputChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Smali_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.smaliUseOutputChkBox.Name = "smaliUseOutputChkBox"; + this.smaliUseOutputChkBox.UseVisualStyleBackColor = true; // - // buildApiLvlUpDown + // comSmaliBtn // - this.buildApiLvlUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Build_ApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - resources.ApplyResources(this.buildApiLvlUpDown, "buildApiLvlUpDown"); - this.buildApiLvlUpDown.Name = "buildApiLvlUpDown"; - this.buildApiLvlUpDown.Value = global::APKToolGUI.Properties.Settings.Default.Build_ApiLevel; + resources.ApplyResources(this.comSmaliBtn, "comSmaliBtn"); + this.comSmaliBtn.Name = "comSmaliBtn"; + this.comSmaliBtn.UseVisualStyleBackColor = true; // - // buildSetApiLvlChkBox + // smaliBrowseOutputBtn // - resources.ApplyResources(this.buildSetApiLvlChkBox, "buildSetApiLvlChkBox"); - this.buildSetApiLvlChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SetApiLevel; - this.buildSetApiLvlChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SetApiLevel", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.buildSetApiLvlChkBox.Name = "buildSetApiLvlChkBox"; - this.buildSetApiLvlChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.smaliBrowseOutputBtn, "smaliBrowseOutputBtn"); + this.smaliBrowseOutputBtn.Name = "smaliBrowseOutputBtn"; + this.smaliBrowseOutputBtn.UseVisualStyleBackColor = true; // - // createUnsignApkChkBox + // smaliBrowseInputDirTxtBox // - resources.ApplyResources(this.createUnsignApkChkBox, "createUnsignApkChkBox"); - this.createUnsignApkChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_CreateUnsignedApk; - this.createUnsignApkChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_CreateUnsignedApk", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.createUnsignApkChkBox.Name = "createUnsignApkChkBox"; - this.toolTip1.SetToolTip(this.createUnsignApkChkBox, resources.GetString("createUnsignApkChkBox.ToolTip")); - this.createUnsignApkChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.smaliBrowseInputDirTxtBox, "smaliBrowseInputDirTxtBox"); + this.smaliBrowseInputDirTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Smali_InputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.smaliBrowseInputDirTxtBox.Name = "smaliBrowseInputDirTxtBox"; + this.smaliBrowseInputDirTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Smali_InputDir; // - // signAfterBuildChkBox + // smaliBrowseOutputTxtBox // - resources.ApplyResources(this.signAfterBuildChkBox, "signAfterBuildChkBox"); - this.signAfterBuildChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_SignAfterBuild; - this.signAfterBuildChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.signAfterBuildChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_SignAfterBuild", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.signAfterBuildChkBox.Name = "signAfterBuildChkBox"; - this.signAfterBuildChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.smaliBrowseOutputTxtBox, "smaliBrowseOutputTxtBox"); + this.smaliBrowseOutputTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Smali_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.smaliBrowseOutputTxtBox.Name = "smaliBrowseOutputTxtBox"; + this.smaliBrowseOutputTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Smali_OutputDir; // - // zipalignAfterBuildChkBox + // smaliBrowseInputDirBtn // - resources.ApplyResources(this.zipalignAfterBuildChkBox, "zipalignAfterBuildChkBox"); - this.zipalignAfterBuildChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Build_ZipalignAfterBuild; - this.zipalignAfterBuildChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.zipalignAfterBuildChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_ZipalignAfterBuild", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.zipalignAfterBuildChkBox.Name = "zipalignAfterBuildChkBox"; - this.zipalignAfterBuildChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.smaliBrowseInputDirBtn, "smaliBrowseInputDirBtn"); + this.smaliBrowseInputDirBtn.Name = "smaliBrowseInputDirBtn"; + this.smaliBrowseInputDirBtn.UseVisualStyleBackColor = true; // - // checkBox_BUILD_NoCrunch + // bakSmaliGroupBox // - resources.ApplyResources(this.checkBox_BUILD_NoCrunch, "checkBox_BUILD_NoCrunch"); - this.checkBox_BUILD_NoCrunch.Checked = global::APKToolGUI.Properties.Settings.Default.Build_NoCrunch; - this.checkBox_BUILD_NoCrunch.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_NoCrunch", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_NoCrunch.Name = "checkBox_BUILD_NoCrunch"; - this.checkBox_BUILD_NoCrunch.UseVisualStyleBackColor = true; + this.bakSmaliGroupBox.Controls.Add(this.label28); + this.bakSmaliGroupBox.Controls.Add(this.baksmaliUseOutputChkBox); + this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseOutputBtn); + this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseOutputTxtBox); + this.bakSmaliGroupBox.Controls.Add(this.decSmaliBtn); + this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseInputDexBtn); + this.bakSmaliGroupBox.Controls.Add(this.baksmaliBrowseInputDexTxtBox); + resources.ApplyResources(this.bakSmaliGroupBox, "bakSmaliGroupBox"); + this.bakSmaliGroupBox.Name = "bakSmaliGroupBox"; + this.bakSmaliGroupBox.TabStop = false; // - // button_BUILD_BrowseOutputAppPath + // label28 // - resources.ApplyResources(this.button_BUILD_BrowseOutputAppPath, "button_BUILD_BrowseOutputAppPath"); - this.button_BUILD_BrowseOutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_BUILD_BrowseOutputAppPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; - this.button_BUILD_BrowseOutputAppPath.Name = "button_BUILD_BrowseOutputAppPath"; - this.button_BUILD_BrowseOutputAppPath.UseVisualStyleBackColor = true; + resources.ApplyResources(this.label28, "label28"); + this.label28.Name = "label28"; // - // checkBox_BUILD_ForceAll + // baksmaliUseOutputChkBox // - resources.ApplyResources(this.checkBox_BUILD_ForceAll, "checkBox_BUILD_ForceAll"); - this.checkBox_BUILD_ForceAll.Checked = global::APKToolGUI.Properties.Settings.Default.Build_ForceAll; - this.checkBox_BUILD_ForceAll.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox_BUILD_ForceAll.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_ForceAll", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_ForceAll.Name = "checkBox_BUILD_ForceAll"; - this.checkBox_BUILD_ForceAll.UseVisualStyleBackColor = true; + resources.ApplyResources(this.baksmaliUseOutputChkBox, "baksmaliUseOutputChkBox"); + this.baksmaliUseOutputChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Baksmali_UseOutputDir; + this.baksmaliUseOutputChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Baksmali_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.baksmaliUseOutputChkBox.Name = "baksmaliUseOutputChkBox"; + this.baksmaliUseOutputChkBox.UseVisualStyleBackColor = true; // - // button_BUILD_BrowseFrameDir + // baksmaliBrowseOutputBtn // - resources.ApplyResources(this.button_BUILD_BrowseFrameDir, "button_BUILD_BrowseFrameDir"); - this.button_BUILD_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_BUILD_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; - this.button_BUILD_BrowseFrameDir.Name = "button_BUILD_BrowseFrameDir"; - this.button_BUILD_BrowseFrameDir.UseVisualStyleBackColor = true; + resources.ApplyResources(this.baksmaliBrowseOutputBtn, "baksmaliBrowseOutputBtn"); + this.baksmaliBrowseOutputBtn.Name = "baksmaliBrowseOutputBtn"; + this.baksmaliBrowseOutputBtn.UseVisualStyleBackColor = true; // - // button_BUILD_BrowseAaptPath + // baksmaliBrowseOutputTxtBox // - resources.ApplyResources(this.button_BUILD_BrowseAaptPath, "button_BUILD_BrowseAaptPath"); - this.button_BUILD_BrowseAaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_BUILD_BrowseAaptPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; - this.button_BUILD_BrowseAaptPath.Name = "button_BUILD_BrowseAaptPath"; - this.button_BUILD_BrowseAaptPath.UseVisualStyleBackColor = true; + resources.ApplyResources(this.baksmaliBrowseOutputTxtBox, "baksmaliBrowseOutputTxtBox"); + this.baksmaliBrowseOutputTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Baksmali_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.baksmaliBrowseOutputTxtBox.Name = "baksmaliBrowseOutputTxtBox"; + this.baksmaliBrowseOutputTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Baksmali_OutputDir; // - // checkBox_BUILD_OutputAppPath + // decSmaliBtn // - resources.ApplyResources(this.checkBox_BUILD_OutputAppPath, "checkBox_BUILD_OutputAppPath"); - this.checkBox_BUILD_OutputAppPath.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; - this.checkBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_OutputAppPath.Name = "checkBox_BUILD_OutputAppPath"; - this.toolTip1.SetToolTip(this.checkBox_BUILD_OutputAppPath, resources.GetString("checkBox_BUILD_OutputAppPath.ToolTip")); - this.checkBox_BUILD_OutputAppPath.UseVisualStyleBackColor = true; + resources.ApplyResources(this.decSmaliBtn, "decSmaliBtn"); + this.decSmaliBtn.Name = "decSmaliBtn"; + this.decSmaliBtn.UseVisualStyleBackColor = true; // - // checkBox_BUILD_CopyOriginal + // baksmaliBrowseInputDexBtn // - resources.ApplyResources(this.checkBox_BUILD_CopyOriginal, "checkBox_BUILD_CopyOriginal"); - this.checkBox_BUILD_CopyOriginal.Checked = global::APKToolGUI.Properties.Settings.Default.Build_CopyOriginal; - this.checkBox_BUILD_CopyOriginal.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_CopyOriginal", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_CopyOriginal.Name = "checkBox_BUILD_CopyOriginal"; - this.checkBox_BUILD_CopyOriginal.UseVisualStyleBackColor = true; + resources.ApplyResources(this.baksmaliBrowseInputDexBtn, "baksmaliBrowseInputDexBtn"); + this.baksmaliBrowseInputDexBtn.Name = "baksmaliBrowseInputDexBtn"; + this.baksmaliBrowseInputDexBtn.UseVisualStyleBackColor = true; // - // textBox_BUILD_OutputAppPath + // baksmaliBrowseInputDexTxtBox // - resources.ApplyResources(this.textBox_BUILD_OutputAppPath, "textBox_BUILD_OutputAppPath"); - this.textBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseOutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_OutputAppPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_OutputAppPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_OutputAppPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseOutputAppPath; - this.textBox_BUILD_OutputAppPath.Name = "textBox_BUILD_OutputAppPath"; - this.textBox_BUILD_OutputAppPath.Text = global::APKToolGUI.Properties.Settings.Default.Build_OutputAppPath; + resources.ApplyResources(this.baksmaliBrowseInputDexTxtBox, "baksmaliBrowseInputDexTxtBox"); + this.baksmaliBrowseInputDexTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Baksmali_InputDexFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.baksmaliBrowseInputDexTxtBox.Name = "baksmaliBrowseInputDexTxtBox"; + this.baksmaliBrowseInputDexTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Baksmali_InputDexFile; // - // checkBox_BUILD_UseAapt + // tabPageAdb // - resources.ApplyResources(this.checkBox_BUILD_UseAapt, "checkBox_BUILD_UseAapt"); - this.checkBox_BUILD_UseAapt.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; - this.checkBox_BUILD_UseAapt.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_UseAapt.Name = "checkBox_BUILD_UseAapt"; - this.checkBox_BUILD_UseAapt.UseVisualStyleBackColor = true; + this.tabPageAdb.AllowDrop = true; + this.tabPageAdb.Controls.Add(this.overrideAbiComboBox); + this.tabPageAdb.Controls.Add(this.selAdbDeviceLbl); + this.tabPageAdb.Controls.Add(this.label33); + this.tabPageAdb.Controls.Add(this.killAdbBtn); + this.tabPageAdb.Controls.Add(this.installApkBtn); + this.tabPageAdb.Controls.Add(this.refreshDevicesBtn); + this.tabPageAdb.Controls.Add(this.selApkAdbBtn); + this.tabPageAdb.Controls.Add(this.overrideAbiCheckBox); + this.tabPageAdb.Controls.Add(this.setVendorChkBox); + this.tabPageAdb.Controls.Add(this.apkPathAdbTxtBox); + this.tabPageAdb.Controls.Add(this.label32); + this.tabPageAdb.Controls.Add(this.devicesListBox); + resources.ApplyResources(this.tabPageAdb, "tabPageAdb"); + this.tabPageAdb.Name = "tabPageAdb"; + this.tabPageAdb.UseVisualStyleBackColor = true; // - // textBox_BUILD_AaptPath + // overrideAbiComboBox // - resources.ApplyResources(this.textBox_BUILD_AaptPath, "textBox_BUILD_AaptPath"); - this.textBox_BUILD_AaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseAapt", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_AaptPath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Build_AaptPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_AaptPath.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseAapt; - this.textBox_BUILD_AaptPath.Name = "textBox_BUILD_AaptPath"; - this.textBox_BUILD_AaptPath.Text = global::APKToolGUI.Properties.Settings.Default.Build_AaptPath; + this.overrideAbiComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.overrideAbiComboBox.FormattingEnabled = true; + this.overrideAbiComboBox.Items.AddRange(new object[] { + resources.GetString("overrideAbiComboBox.Items"), + resources.GetString("overrideAbiComboBox.Items1"), + resources.GetString("overrideAbiComboBox.Items2"), + resources.GetString("overrideAbiComboBox.Items3")}); + resources.ApplyResources(this.overrideAbiComboBox, "overrideAbiComboBox"); + this.overrideAbiComboBox.Name = "overrideAbiComboBox"; // - // textBox_BUILD_FrameDir + // selAdbDeviceLbl // - resources.ApplyResources(this.textBox_BUILD_FrameDir, "textBox_BUILD_FrameDir"); - this.textBox_BUILD_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_BUILD_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; - this.textBox_BUILD_FrameDir.Name = "textBox_BUILD_FrameDir"; - this.textBox_BUILD_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; + this.selAdbDeviceLbl.ForeColor = System.Drawing.Color.ForestGreen; + resources.ApplyResources(this.selAdbDeviceLbl, "selAdbDeviceLbl"); + this.selAdbDeviceLbl.Name = "selAdbDeviceLbl"; // - // checkBox_BUILD_UseFramework + // label33 // - resources.ApplyResources(this.checkBox_BUILD_UseFramework, "checkBox_BUILD_UseFramework"); - this.checkBox_BUILD_UseFramework.Checked = global::APKToolGUI.Properties.Settings.Default.Build_UseFramework; - this.checkBox_BUILD_UseFramework.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Build_UseFramework", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_BUILD_UseFramework.Name = "checkBox_BUILD_UseFramework"; - this.checkBox_BUILD_UseFramework.UseVisualStyleBackColor = true; + resources.ApplyResources(this.label33, "label33"); + this.label33.Name = "label33"; // - // checkBox2 + // killAdbBtn // - resources.ApplyResources(this.checkBox2, "checkBox2"); - this.checkBox2.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_InstallApkAfterSign; - this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_InstallApkAfterSign", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.UseVisualStyleBackColor = true; + resources.ApplyResources(this.killAdbBtn, "killAdbBtn"); + this.killAdbBtn.Name = "killAdbBtn"; + this.killAdbBtn.UseVisualStyleBackColor = true; // - // checkBox1 + // installApkBtn // - resources.ApplyResources(this.checkBox1, "checkBox1"); - this.checkBox1.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_OverwriteInputFile; - this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_OverwriteInputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.UseVisualStyleBackColor = true; + resources.ApplyResources(this.installApkBtn, "installApkBtn"); + this.installApkBtn.Name = "installApkBtn"; + this.installApkBtn.UseVisualStyleBackColor = true; // - // autoDelIdsigChkBox + // refreshDevicesBtn // - resources.ApplyResources(this.autoDelIdsigChkBox, "autoDelIdsigChkBox"); - this.autoDelIdsigChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.AutoDeleteIdsigFile; - this.autoDelIdsigChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.autoDelIdsigChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "AutoDeleteIdsigFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.autoDelIdsigChkBox.Name = "autoDelIdsigChkBox"; - this.autoDelIdsigChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.refreshDevicesBtn, "refreshDevicesBtn"); + this.refreshDevicesBtn.Name = "refreshDevicesBtn"; + this.refreshDevicesBtn.UseVisualStyleBackColor = true; // - // textBox3 + // selApkAdbBtn // - resources.ApplyResources(this.textBox3, "textBox3"); - this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_KeystorePassword", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox3.Name = "textBox3"; - this.textBox3.Text = global::APKToolGUI.Properties.Settings.Default.Sign_KeystorePassword; - this.textBox3.UseSystemPasswordChar = true; + resources.ApplyResources(this.selApkAdbBtn, "selApkAdbBtn"); + this.selApkAdbBtn.Name = "selApkAdbBtn"; + this.selApkAdbBtn.UseVisualStyleBackColor = true; // - // aliasTxtBox + // overrideAbiCheckBox // - resources.ApplyResources(this.aliasTxtBox, "aliasTxtBox"); - this.aliasTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_Alias", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.aliasTxtBox.Name = "aliasTxtBox"; - this.aliasTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Sign_Alias; + resources.ApplyResources(this.overrideAbiCheckBox, "overrideAbiCheckBox"); + this.overrideAbiCheckBox.Checked = global::APKToolGUI.Properties.Settings.Default.Adb_SetOverrideAbi; + this.overrideAbiCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Adb_SetOverrideAbi", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.overrideAbiCheckBox.Name = "overrideAbiCheckBox"; + this.overrideAbiCheckBox.UseVisualStyleBackColor = true; // - // useAliasChkBox + // setVendorChkBox // - resources.ApplyResources(this.useAliasChkBox, "useAliasChkBox"); - this.useAliasChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_SetAlias; - this.useAliasChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.useAliasChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_SetAlias", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.useAliasChkBox.Name = "useAliasChkBox"; - this.useAliasChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.setVendorChkBox, "setVendorChkBox"); + this.setVendorChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Adb_SetVendor; + this.setVendorChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Adb_SetVendor", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.setVendorChkBox.Name = "setVendorChkBox"; + this.setVendorChkBox.UseVisualStyleBackColor = true; // - // keyStoreFileTxtBox + // apkPathAdbTxtBox // - resources.ApplyResources(this.keyStoreFileTxtBox, "keyStoreFileTxtBox"); - this.keyStoreFileTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_KeystoreFilePath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.keyStoreFileTxtBox.Name = "keyStoreFileTxtBox"; - this.keyStoreFileTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Sign_KeystoreFilePath; + resources.ApplyResources(this.apkPathAdbTxtBox, "apkPathAdbTxtBox"); + this.apkPathAdbTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Adb_SelectedApkPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); + this.apkPathAdbTxtBox.Name = "apkPathAdbTxtBox"; + this.apkPathAdbTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Adb_SelectedApkPath; // - // useKeyStoreChkBox + // label32 // - resources.ApplyResources(this.useKeyStoreChkBox, "useKeyStoreChkBox"); - this.useKeyStoreChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_UseKeystoreFile; - this.useKeyStoreChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_UseKeystoreFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.useKeyStoreChkBox.Name = "useKeyStoreChkBox"; - this.useKeyStoreChkBox.UseVisualStyleBackColor = true; + resources.ApplyResources(this.label32, "label32"); + this.label32.Name = "label32"; // - // useSigningOutputDir + // devicesListBox // - resources.ApplyResources(this.useSigningOutputDir, "useSigningOutputDir"); - this.useSigningOutputDir.Checked = global::APKToolGUI.Properties.Settings.Default.Sign_UseOutputDir; - this.useSigningOutputDir.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Sign_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.useSigningOutputDir.Name = "useSigningOutputDir"; - this.useSigningOutputDir.UseVisualStyleBackColor = true; + resources.ApplyResources(this.devicesListBox, "devicesListBox"); + this.devicesListBox.FormattingEnabled = true; + this.devicesListBox.Name = "devicesListBox"; // - // textBox_SIGN_OutputFile + // statusStrip1 // - resources.ApplyResources(this.textBox_SIGN_OutputFile, "textBox_SIGN_OutputFile"); - this.textBox_SIGN_OutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_SIGN_OutputFile.Name = "textBox_SIGN_OutputFile"; - this.textBox_SIGN_OutputFile.Text = global::APKToolGUI.Properties.Settings.Default.Sign_OutputDir; + this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabelStateImage, + this.toolStripStatusLabelStateText, + this.progressBar}); + resources.ApplyResources(this.statusStrip1, "statusStrip1"); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.SizingGrip = false; // - // textBox_SIGN_PublicKey + // toolStripStatusLabelStateImage // - resources.ApplyResources(this.textBox_SIGN_PublicKey, "textBox_SIGN_PublicKey"); - this.textBox_SIGN_PublicKey.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_PublicKey", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_SIGN_PublicKey.Name = "textBox_SIGN_PublicKey"; - this.textBox_SIGN_PublicKey.Text = global::APKToolGUI.Properties.Settings.Default.Sign_PublicKey; + this.toolStripStatusLabelStateImage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripStatusLabelStateImage.Name = "toolStripStatusLabelStateImage"; + resources.ApplyResources(this.toolStripStatusLabelStateImage, "toolStripStatusLabelStateImage"); // - // textBox_SIGN_PrivateKey + // toolStripStatusLabelStateText // - resources.ApplyResources(this.textBox_SIGN_PrivateKey, "textBox_SIGN_PrivateKey"); - this.textBox_SIGN_PrivateKey.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Sign_PrivateKey", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_SIGN_PrivateKey.Name = "textBox_SIGN_PrivateKey"; - this.textBox_SIGN_PrivateKey.Text = global::APKToolGUI.Properties.Settings.Default.Sign_PrivateKey; + this.toolStripStatusLabelStateText.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + resources.ApplyResources(this.toolStripStatusLabelStateText, "toolStripStatusLabelStateText"); + this.toolStripStatusLabelStateText.Name = "toolStripStatusLabelStateText"; + this.toolStripStatusLabelStateText.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; + this.toolStripStatusLabelStateText.Spring = true; + this.toolStripStatusLabelStateText.Click += new System.EventHandler(this.toolStripStatusLabelStateText_Click); // - // zipalignOutputDirChkBox + // progressBar // - resources.ApplyResources(this.zipalignOutputDirChkBox, "zipalignOutputDirChkBox"); - this.zipalignOutputDirChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_UseOutputDir; - this.zipalignOutputDirChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.zipalignOutputDirChkBox.Name = "zipalignOutputDirChkBox"; - this.zipalignOutputDirChkBox.UseVisualStyleBackColor = true; + this.progressBar.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + resources.ApplyResources(this.progressBar, "progressBar"); + this.progressBar.MarqueeAnimationSpeed = 30; + this.progressBar.Name = "progressBar"; + this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous; + this.progressBar.Click += new System.EventHandler(this.toolStripProgressBar1_Click); // - // signAfterZipalignChkBox + // contextMenuStripLog // - resources.ApplyResources(this.signAfterZipalignChkBox, "signAfterZipalignChkBox"); - this.signAfterZipalignChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_SignAfterZipAlign; - this.signAfterZipalignChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.signAfterZipalignChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_SignAfterZipAlign", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.signAfterZipalignChkBox.Name = "signAfterZipalignChkBox"; - this.signAfterZipalignChkBox.UseVisualStyleBackColor = true; + this.contextMenuStripLog.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStripLog.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.copyToolStripMenuItem, + this.clearLogToolStripMenuItem}); + this.contextMenuStripLog.Name = "contextMenuStripLog"; + resources.ApplyResources(this.contextMenuStripLog, "contextMenuStripLog"); // - // checkBox_ZIPALIGN_Recompress + // copyToolStripMenuItem // - resources.ApplyResources(this.checkBox_ZIPALIGN_Recompress, "checkBox_ZIPALIGN_Recompress"); - this.checkBox_ZIPALIGN_Recompress.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_Recompress; - this.checkBox_ZIPALIGN_Recompress.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_Recompress", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_ZIPALIGN_Recompress.Name = "checkBox_ZIPALIGN_Recompress"; - this.checkBox_ZIPALIGN_Recompress.UseVisualStyleBackColor = true; + this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; + resources.ApplyResources(this.copyToolStripMenuItem, "copyToolStripMenuItem"); // - // checkBox_ZIPALIGN_CheckAlignment + // clearLogToolStripMenuItem // - resources.ApplyResources(this.checkBox_ZIPALIGN_CheckAlignment, "checkBox_ZIPALIGN_CheckAlignment"); - this.checkBox_ZIPALIGN_CheckAlignment.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_CheckOnly; - this.checkBox_ZIPALIGN_CheckAlignment.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_CheckOnly", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_ZIPALIGN_CheckAlignment.Name = "checkBox_ZIPALIGN_CheckAlignment"; - this.checkBox_ZIPALIGN_CheckAlignment.UseVisualStyleBackColor = true; + this.clearLogToolStripMenuItem.Name = "clearLogToolStripMenuItem"; + resources.ApplyResources(this.clearLogToolStripMenuItem, "clearLogToolStripMenuItem"); // - // textBox_ZIPALIGN_OutputFile + // logTxtBox // - resources.ApplyResources(this.textBox_ZIPALIGN_OutputFile, "textBox_ZIPALIGN_OutputFile"); - this.textBox_ZIPALIGN_OutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Zipalign_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_ZIPALIGN_OutputFile.Name = "textBox_ZIPALIGN_OutputFile"; - this.textBox_ZIPALIGN_OutputFile.Text = global::APKToolGUI.Properties.Settings.Default.Zipalign_OutputDir; + resources.ApplyResources(this.logTxtBox, "logTxtBox"); + this.logTxtBox.ContextMenuStrip = this.contextMenuStripLog; + this.logTxtBox.HideSelection = false; + this.logTxtBox.Name = "logTxtBox"; + this.logTxtBox.ReadOnly = true; + this.logTxtBox.TabStop = false; // - // checkBox_ZIPALIGN_VerboseOutput + // menuStrip1 // - resources.ApplyResources(this.checkBox_ZIPALIGN_VerboseOutput, "checkBox_ZIPALIGN_VerboseOutput"); - this.checkBox_ZIPALIGN_VerboseOutput.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_Verbose; - this.checkBox_ZIPALIGN_VerboseOutput.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_Verbose", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_ZIPALIGN_VerboseOutput.Name = "checkBox_ZIPALIGN_VerboseOutput"; - this.checkBox_ZIPALIGN_VerboseOutput.UseVisualStyleBackColor = true; + this.menuStrip1.GripMargin = new System.Windows.Forms.Padding(2); + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.settingsToolStripMenuItem1, + this.helpToolStripMenuItem}); + resources.ApplyResources(this.menuStrip1, "menuStrip1"); + this.menuStrip1.Name = "menuStrip1"; // - // numericUpDown_ZIPALIGN_AlignmentBytes + // fileToolStripMenuItem // - this.numericUpDown_ZIPALIGN_AlignmentBytes.DataBindings.Add(new System.Windows.Forms.Binding("Value", global::APKToolGUI.Properties.Settings.Default, "Zipalign_AlignmentInBytes", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - resources.ApplyResources(this.numericUpDown_ZIPALIGN_AlignmentBytes, "numericUpDown_ZIPALIGN_AlignmentBytes"); - this.numericUpDown_ZIPALIGN_AlignmentBytes.Maximum = new decimal(new int[] { - 32, - 0, - 0, - 0}); - this.numericUpDown_ZIPALIGN_AlignmentBytes.Name = "numericUpDown_ZIPALIGN_AlignmentBytes"; - this.numericUpDown_ZIPALIGN_AlignmentBytes.Value = global::APKToolGUI.Properties.Settings.Default.Zipalign_AlignmentInBytes; + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newInsToolStripMenuItem, + this.saveLogToFileToolStripMenuItem, + this.toolStripMenuItem1, + this.openTempFolderToolStripMenuItem, + this.clearTempFolderToolStripMenuItem, + this.toolStripMenuItem2, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem"); // - // checkBox_ZIPALIGN_OverwriteOutputFile + // newInsToolStripMenuItem // - resources.ApplyResources(this.checkBox_ZIPALIGN_OverwriteOutputFile, "checkBox_ZIPALIGN_OverwriteOutputFile"); - this.checkBox_ZIPALIGN_OverwriteOutputFile.Checked = global::APKToolGUI.Properties.Settings.Default.Zipalign_OverwriteOutputFile; - this.checkBox_ZIPALIGN_OverwriteOutputFile.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Zipalign_OverwriteOutputFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_ZIPALIGN_OverwriteOutputFile.Name = "checkBox_ZIPALIGN_OverwriteOutputFile"; - this.checkBox_ZIPALIGN_OverwriteOutputFile.UseVisualStyleBackColor = true; + this.newInsToolStripMenuItem.Name = "newInsToolStripMenuItem"; + resources.ApplyResources(this.newInsToolStripMenuItem, "newInsToolStripMenuItem"); // - // clearFwBeforeDecodeChkBox + // saveLogToFileToolStripMenuItem // - resources.ApplyResources(this.clearFwBeforeDecodeChkBox, "clearFwBeforeDecodeChkBox"); - this.clearFwBeforeDecodeChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Framework_ClearBeforeDecode; - this.clearFwBeforeDecodeChkBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.clearFwBeforeDecodeChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Framework_ClearBeforeDecode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.clearFwBeforeDecodeChkBox.Name = "clearFwBeforeDecodeChkBox"; - this.clearFwBeforeDecodeChkBox.UseVisualStyleBackColor = true; + this.saveLogToFileToolStripMenuItem.Name = "saveLogToFileToolStripMenuItem"; + resources.ApplyResources(this.saveLogToFileToolStripMenuItem, "saveLogToFileToolStripMenuItem"); // - // checkBox_IF_Tag + // toolStripMenuItem1 // - resources.ApplyResources(this.checkBox_IF_Tag, "checkBox_IF_Tag"); - this.checkBox_IF_Tag.Checked = global::APKToolGUI.Properties.Settings.Default.InstallFramework_UseTag; - this.checkBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_UseTag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_IF_Tag.Name = "checkBox_IF_Tag"; - this.checkBox_IF_Tag.UseVisualStyleBackColor = true; + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + resources.ApplyResources(this.toolStripMenuItem1, "toolStripMenuItem1"); // - // checkBox_IF_FramePath + // openTempFolderToolStripMenuItem // - resources.ApplyResources(this.checkBox_IF_FramePath, "checkBox_IF_FramePath"); - this.checkBox_IF_FramePath.Checked = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; - this.checkBox_IF_FramePath.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.checkBox_IF_FramePath.Name = "checkBox_IF_FramePath"; - this.checkBox_IF_FramePath.UseVisualStyleBackColor = true; + this.openTempFolderToolStripMenuItem.Name = "openTempFolderToolStripMenuItem"; + resources.ApplyResources(this.openTempFolderToolStripMenuItem, "openTempFolderToolStripMenuItem"); // - // textBox_IF_Tag + // clearTempFolderToolStripMenuItem // - resources.ApplyResources(this.textBox_IF_Tag, "textBox_IF_Tag"); - this.textBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_Tag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_IF_Tag.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_UseTag", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_IF_Tag.Enabled = global::APKToolGUI.Properties.Settings.Default.InstallFramework_UseTag; - this.textBox_IF_Tag.Name = "textBox_IF_Tag"; - this.textBox_IF_Tag.Text = global::APKToolGUI.Properties.Settings.Default.InstallFramework_Tag; + this.clearTempFolderToolStripMenuItem.Name = "clearTempFolderToolStripMenuItem"; + resources.ApplyResources(this.clearTempFolderToolStripMenuItem, "clearTempFolderToolStripMenuItem"); + this.clearTempFolderToolStripMenuItem.Click += new System.EventHandler(this.clearTempFolderToolStripMenuItem_Click); // - // button_IF_BrowseFrameDir + // toolStripMenuItem2 // - resources.ApplyResources(this.button_IF_BrowseFrameDir, "button_IF_BrowseFrameDir"); - this.button_IF_BrowseFrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.button_IF_BrowseFrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; - this.button_IF_BrowseFrameDir.Name = "button_IF_BrowseFrameDir"; - this.button_IF_BrowseFrameDir.UseVisualStyleBackColor = true; + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + resources.ApplyResources(this.toolStripMenuItem2, "toolStripMenuItem2"); // - // textBox_IF_InputFramePath + // exitToolStripMenuItem // - resources.ApplyResources(this.textBox_IF_InputFramePath, "textBox_IF_InputFramePath"); - this.textBox_IF_InputFramePath.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "InstallFramework_InputFramePath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_IF_InputFramePath.Name = "textBox_IF_InputFramePath"; - this.textBox_IF_InputFramePath.Text = global::APKToolGUI.Properties.Settings.Default.InstallFramework_InputFramePath; + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + resources.ApplyResources(this.exitToolStripMenuItem, "exitToolStripMenuItem"); // - // textBox_IF_FrameDir + // settingsToolStripMenuItem1 // - resources.ApplyResources(this.textBox_IF_FrameDir, "textBox_IF_FrameDir"); - this.textBox_IF_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Enabled", global::APKToolGUI.Properties.Settings.Default, "Framework_UseFrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_IF_FrameDir.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Framework_FrameDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.textBox_IF_FrameDir.Enabled = global::APKToolGUI.Properties.Settings.Default.Framework_UseFrameDir; - this.textBox_IF_FrameDir.Name = "textBox_IF_FrameDir"; - this.textBox_IF_FrameDir.Text = global::APKToolGUI.Properties.Settings.Default.Framework_FrameDir; + this.settingsToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.useAPKEditorForDecompilingItem, + this.settingsToolStripMenuItem}); + this.settingsToolStripMenuItem1.Name = "settingsToolStripMenuItem1"; + resources.ApplyResources(this.settingsToolStripMenuItem1, "settingsToolStripMenuItem1"); // - // smaliUseOutputChkBox + // useAPKEditorForDecompilingItem // - resources.ApplyResources(this.smaliUseOutputChkBox, "smaliUseOutputChkBox"); - this.smaliUseOutputChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Smali_UseOutputDir; - this.smaliUseOutputChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Smali_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.smaliUseOutputChkBox.Name = "smaliUseOutputChkBox"; - this.smaliUseOutputChkBox.UseVisualStyleBackColor = true; + this.useAPKEditorForDecompilingItem.Checked = global::APKToolGUI.Properties.Settings.Default.UseApkeditor; + this.useAPKEditorForDecompilingItem.CheckOnClick = true; + this.useAPKEditorForDecompilingItem.Name = "useAPKEditorForDecompilingItem"; + resources.ApplyResources(this.useAPKEditorForDecompilingItem, "useAPKEditorForDecompilingItem"); // - // smaliBrowseInputDirTxtBox + // settingsToolStripMenuItem // - resources.ApplyResources(this.smaliBrowseInputDirTxtBox, "smaliBrowseInputDirTxtBox"); - this.smaliBrowseInputDirTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Smali_InputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.smaliBrowseInputDirTxtBox.Name = "smaliBrowseInputDirTxtBox"; - this.smaliBrowseInputDirTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Smali_InputDir; + this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; + resources.ApplyResources(this.settingsToolStripMenuItem, "settingsToolStripMenuItem"); // - // smaliBrowseOutputTxtBox + // helpToolStripMenuItem // - resources.ApplyResources(this.smaliBrowseOutputTxtBox, "smaliBrowseOutputTxtBox"); - this.smaliBrowseOutputTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Smali_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.smaliBrowseOutputTxtBox.Name = "smaliBrowseOutputTxtBox"; - this.smaliBrowseOutputTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Smali_OutputDir; + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.checkForUpdateToolStripMenuItem, + this.reportAnIsuueToolStripMenuItem, + this.apktoolIssuesToolStripMenuItem, + this.baksmaliIssuesToolStripMenuItem, + this.aboutToolStripMenuItem}); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem"); // - // baksmaliUseOutputChkBox + // checkForUpdateToolStripMenuItem // - resources.ApplyResources(this.baksmaliUseOutputChkBox, "baksmaliUseOutputChkBox"); - this.baksmaliUseOutputChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Baksmali_UseOutputDir; - this.baksmaliUseOutputChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Baksmali_UseOutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.baksmaliUseOutputChkBox.Name = "baksmaliUseOutputChkBox"; - this.baksmaliUseOutputChkBox.UseVisualStyleBackColor = true; + this.checkForUpdateToolStripMenuItem.Name = "checkForUpdateToolStripMenuItem"; + resources.ApplyResources(this.checkForUpdateToolStripMenuItem, "checkForUpdateToolStripMenuItem"); // - // baksmaliBrowseOutputTxtBox + // reportAnIsuueToolStripMenuItem // - resources.ApplyResources(this.baksmaliBrowseOutputTxtBox, "baksmaliBrowseOutputTxtBox"); - this.baksmaliBrowseOutputTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Baksmali_OutputDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.baksmaliBrowseOutputTxtBox.Name = "baksmaliBrowseOutputTxtBox"; - this.baksmaliBrowseOutputTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Baksmali_OutputDir; + this.reportAnIsuueToolStripMenuItem.Name = "reportAnIsuueToolStripMenuItem"; + resources.ApplyResources(this.reportAnIsuueToolStripMenuItem, "reportAnIsuueToolStripMenuItem"); // - // baksmaliBrowseInputDexTxtBox + // apktoolIssuesToolStripMenuItem // - resources.ApplyResources(this.baksmaliBrowseInputDexTxtBox, "baksmaliBrowseInputDexTxtBox"); - this.baksmaliBrowseInputDexTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Baksmali_InputDexFile", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.baksmaliBrowseInputDexTxtBox.Name = "baksmaliBrowseInputDexTxtBox"; - this.baksmaliBrowseInputDexTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Baksmali_InputDexFile; + this.apktoolIssuesToolStripMenuItem.Name = "apktoolIssuesToolStripMenuItem"; + resources.ApplyResources(this.apktoolIssuesToolStripMenuItem, "apktoolIssuesToolStripMenuItem"); // - // overrideAbiCheckBox + // baksmaliIssuesToolStripMenuItem // - resources.ApplyResources(this.overrideAbiCheckBox, "overrideAbiCheckBox"); - this.overrideAbiCheckBox.Checked = global::APKToolGUI.Properties.Settings.Default.Adb_SetOverrideAbi; - this.overrideAbiCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Adb_SetOverrideAbi", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.overrideAbiCheckBox.Name = "overrideAbiCheckBox"; - this.overrideAbiCheckBox.UseVisualStyleBackColor = true; + this.baksmaliIssuesToolStripMenuItem.Name = "baksmaliIssuesToolStripMenuItem"; + resources.ApplyResources(this.baksmaliIssuesToolStripMenuItem, "baksmaliIssuesToolStripMenuItem"); // - // setVendorChkBox + // aboutToolStripMenuItem // - resources.ApplyResources(this.setVendorChkBox, "setVendorChkBox"); - this.setVendorChkBox.Checked = global::APKToolGUI.Properties.Settings.Default.Adb_SetVendor; - this.setVendorChkBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Adb_SetVendor", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.setVendorChkBox.Name = "setVendorChkBox"; - this.setVendorChkBox.UseVisualStyleBackColor = true; + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + resources.ApplyResources(this.aboutToolStripMenuItem, "aboutToolStripMenuItem"); // - // apkPathAdbTxtBox + // toolTip1 // - resources.ApplyResources(this.apkPathAdbTxtBox, "apkPathAdbTxtBox"); - this.apkPathAdbTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "Adb_SelectedApkPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.apkPathAdbTxtBox.Name = "apkPathAdbTxtBox"; - this.apkPathAdbTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.Adb_SelectedApkPath; + this.toolTip1.AutoPopDelay = 10000; + this.toolTip1.InitialDelay = 500; + this.toolTip1.ReshowDelay = 100; // // FormMain // @@ -2195,15 +2195,20 @@ private void InitializeComponent() this.tabPageDecode.ResumeLayout(false); this.groupBox_DECODE_Options.ResumeLayout(false); this.groupBox_DECODE_Options.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.decJobsLvlUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.decApiLvlUpDown)).EndInit(); this.tabPageBuild.ResumeLayout(false); this.groupBox_BUILD_Options.ResumeLayout(false); this.groupBox_BUILD_Options.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.comJobsLvlUpDown)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.buildApiLvlUpDown)).EndInit(); this.tabPageSign.ResumeLayout(false); this.groupBox_SIGN_Options.ResumeLayout(false); this.groupBox_SIGN_Options.PerformLayout(); this.tabPageZipAlign.ResumeLayout(false); this.groupBox_ZIPALIGN_Options.ResumeLayout(false); this.groupBox_ZIPALIGN_Options.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ZIPALIGN_AlignmentBytes)).EndInit(); this.tabPageInstallFramework.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); @@ -2221,11 +2226,6 @@ private void InitializeComponent() this.contextMenuStripLog.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.decJobsLvlUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.decApiLvlUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.comJobsLvlUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.buildApiLvlUpDown)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ZIPALIGN_AlignmentBytes)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); diff --git a/APKToolGUI/Forms/FormMain.cs b/APKToolGUI/Forms/FormMain.cs index ed2330d..060e6b7 100644 --- a/APKToolGUI/Forms/FormMain.cs +++ b/APKToolGUI/Forms/FormMain.cs @@ -14,7 +14,6 @@ using APKToolGUI.Handlers; using Microsoft.WindowsAPICodePack.Taskbar; using System.Media; -using Ionic.Zip; using System.Linq; using System.Windows.Interop; using System.Security.Cryptography; @@ -22,6 +21,7 @@ using APKToolGUI.Controls; using Dark.Net; using APKEasyTool; +using System.IO.Compression; namespace APKToolGUI { @@ -260,31 +260,35 @@ await Task.Factory.StartNew(() => { Directory.CreateDirectory(splitPath); - using (ZipFile zipDest = ZipFile.Read(file)) + using (ZipArchive archive = ZipFile.OpenRead(file)) { bool mainApkFound = false; - foreach (ZipEntry entry in zipDest.Entries) + + foreach (ZipArchiveEntry entry in archive.Entries) { - if (!mainApkFound && !entry.FileName.Contains("config.") && entry.FileName.EndsWith(".apk")) + if (!mainApkFound && !entry.FullName.Contains("config.") && entry.FullName.EndsWith(".apk")) { - Debug.WriteLine("Found main APK" + entry.FileName); - entry.Extract(splitPath, ExtractExistingFileAction.OverwriteSilently); - file = Path.Combine(splitPath, entry.FileName); + Debug.WriteLine("Found main APK: " + entry.FullName); + string extractPath = Path.Combine(splitPath, entry.FullName); + Directory.CreateDirectory(Path.GetDirectoryName(extractPath)); + entry.ExtractToFile(extractPath, true); + file = extractPath; mainApkFound = true; } - if (entry.FileName.Contains("lib/armeabi-v7a")) + + if (entry.FullName.Contains("lib/armeabi-v7a")) { arch += "armeabi-v7a, "; } - if (entry.FileName.Contains("lib/arm64-v8a")) + if (entry.FullName.Contains("lib/arm64-v8a")) { arch += "arm64-v8a, "; } - if (entry.FileName.Contains("lib/x86")) + if (entry.FullName.Contains("lib/x86")) { arch += "x86, "; } - if (entry.FileName.Contains("lib/x86_64")) + if (entry.FullName.Contains("lib/x86_64")) { arch += "x86_64, "; } diff --git a/APKToolGUI/Forms/FormMain.resx b/APKToolGUI/Forms/FormMain.resx index 60f8096..6b6b627 100644 --- a/APKToolGUI/Forms/FormMain.resx +++ b/APKToolGUI/Forms/FormMain.resx @@ -8370,9 +8370,6 @@ //////////w4AAAcP/////// - - NoControl - 99, 97 @@ -8463,6 +8460,12 @@ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + useAPKEditorForDecompilingItem + + + System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + settingsToolStripMenuItem @@ -8511,12 +8514,6 @@ System.Windows.Forms.ToolTip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - useAPKEditorForDecompilingItem - - - System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - FormMain diff --git a/APKToolGUI/ILLink/ILLink.Descriptors.LibraryBuild.xml b/APKToolGUI/ILLink/ILLink.Descriptors.LibraryBuild.xml new file mode 100644 index 0000000..a42d7f0 --- /dev/null +++ b/APKToolGUI/ILLink/ILLink.Descriptors.LibraryBuild.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/APKToolGUI/Utils/ZipUtils.cs b/APKToolGUI/Utils/ZipUtils.cs index 3b3b191..2f6fc8e 100644 --- a/APKToolGUI/Utils/ZipUtils.cs +++ b/APKToolGUI/Utils/ZipUtils.cs @@ -1,169 +1,145 @@ -using Ionic.Zip; -using System; -using System.Collections.Generic; +using System; using System.IO; +using System.IO.Compression; using System.Linq; using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Documents; namespace APKToolGUI.Utils { public class ZipUtils { - public static void ExtractAllStream(string path, string embeddedZip) - { - Assembly _assembly = Assembly.GetExecutingAssembly(); - Stream _zipFileStream = _assembly.GetManifestResourceStream(embeddedZip); - using (ZipFile zipFile = ZipFile.Read(_zipFileStream)) - { - zipFile.ExtractAll(path); - } - } - public static string GetFileName(string path, string fileNameContains, string folderContains = "") { - using (ZipFile zipDest = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - foreach (ZipEntry entry in zipDest.Entries) - { - if (entry.FileName.Contains(fileNameContains) && entry.FileName.Contains(folderContains)) - return Path.GetFileName(entry.FileName); - } + var entry = archive.Entries + .FirstOrDefault(e => e.FullName.Contains(fileNameContains) && + (string.IsNullOrEmpty(folderContains) || e.FullName.Contains(folderContains))); + return entry != null ? Path.GetFileName(entry.FullName) : string.Empty; } - return ""; } public static string GetFileNameWithoutExtension(string path, string fileNameContains, string folderContains = "") { - using (ZipFile zipDest = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - foreach (ZipEntry entry in zipDest.Entries) - { - if (entry.FileName.Contains(fileNameContains) && entry.FileName.Contains(folderContains)) - return Path.GetFileNameWithoutExtension(entry.FileName); - } + var entry = archive.Entries + .FirstOrDefault(e => e.FullName.Contains(fileNameContains) && + (string.IsNullOrEmpty(folderContains) || e.FullName.Contains(folderContains))); + return entry != null ? Path.GetFileNameWithoutExtension(entry.FullName) : string.Empty; } - return ""; } + public static bool Exists(string path, string fileNameContains, string folderContains = "") { - using (ZipFile zipDest = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - foreach (ZipEntry entry in zipDest.Entries) - { - if (entry.FileName.Contains(fileNameContains) && String.IsNullOrEmpty(folderContains)) - return true; - else if (entry.FileName.Contains(fileNameContains) && entry.FileName.Contains(folderContains)) - return true; - } + return archive.Entries.Any(e => e.FullName.Contains(fileNameContains) && + (string.IsNullOrEmpty(folderContains) || e.FullName.Contains(folderContains))); } - return false; } public static void AddFile(string zipFile, string fileName, string directoryPathInArchive = "") { - using (ZipFile zip = ZipFile.Read(zipFile)) + using (FileStream fs = new FileStream(zipFile, FileMode.OpenOrCreate)) + using (ZipArchive archive = new ZipArchive(fs, ZipArchiveMode.Update)) { - if (!String.IsNullOrEmpty(directoryPathInArchive)) - zip.AddFile(fileName, directoryPathInArchive); - else - zip.AddFile(fileName); - zip.Save(); + string entryName = string.IsNullOrEmpty(directoryPathInArchive) ? fileName : $"{directoryPathInArchive}/{Path.GetFileName(fileName)}"; + archive.CreateEntryFromFile(fileName, entryName); } } public static void UpdateFile(string zipFile, string fileName, string directoryPathInArchive = "") { - using (ZipFile zip = ZipFile.Read(zipFile)) - { - if (!String.IsNullOrEmpty(directoryPathInArchive)) - zip.UpdateFile(fileName, directoryPathInArchive); - else - zip.UpdateFile(fileName); - zip.Save(); - } + RemoveFile(zipFile, fileName); + AddFile(zipFile, fileName, directoryPathInArchive); } public static void RemoveFile(string zipFile, string fileName) { - using (ZipFile zip = ZipFile.Read(zipFile)) + using (FileStream fs = new FileStream(zipFile, FileMode.OpenOrCreate)) + using (ZipArchive archive = new ZipArchive(fs, ZipArchiveMode.Update)) { - bool chkresult2 = zip.Any(entry => entry.FileName.Contains(fileName)); - if (chkresult2) - { - zip.RemoveEntry(fileName); - zip.Save(); - } + var entry = archive.Entries.FirstOrDefault(e => e.FullName.Contains(fileName)); + entry?.Delete(); } } public static void ExtractFile(string path, string fileName, string destination) { - using (ZipFile zip = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - bool chkresult2 = zip.Any(entry => entry.FileName.Contains(fileName)); - if (chkresult2) - { - zip.FlattenFoldersOnExtract = true; - ZipEntry e = zip[fileName]; - e.Extract(destination, ExtractExistingFileAction.OverwriteSilently); - } + var entry = archive.Entries.FirstOrDefault(e => e.FullName.Contains(fileName)); + entry?.ExtractToFile(Path.Combine(destination, Path.GetFileName(entry.FullName)), true); } } public static void ExtractAll(string path, string destination, bool flattenFoldersOnExtract = false) { - using (ZipFile zip = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - zip.FlattenFoldersOnExtract = flattenFoldersOnExtract; - zip.ExtractAll(destination, ExtractExistingFileAction.OverwriteSilently); + foreach (var entry in archive.Entries) + { + string fullPath = flattenFoldersOnExtract + ? Path.Combine(destination, Path.GetFileName(entry.FullName)) + : Path.Combine(destination, entry.FullName); + string directoryPath = Path.GetDirectoryName(fullPath); + if (!string.IsNullOrEmpty(directoryPath)) Directory.CreateDirectory(directoryPath); + entry.ExtractToFile(fullPath, true); + } } } - public static void AddDirectory(string path, string fileName, string directoryPathInArchive = "") + public static void AddDirectory(string path, string directoryPath, string directoryPathInArchive = "") { - ZipFile zip = new ZipFile(); - if (!String.IsNullOrEmpty(directoryPathInArchive)) - zip.AddDirectory(fileName, directoryPathInArchive); - else - zip.AddDirectory(fileName); - zip.Save(path); + using (FileStream fs = new FileStream(path, FileMode.OpenOrCreate)) + using (ZipArchive archive = new ZipArchive(fs, ZipArchiveMode.Update)) + { + foreach (string filePath in Directory.GetFiles(directoryPath, "*.*", SearchOption.AllDirectories)) + { + string entryName = string.IsNullOrEmpty(directoryPathInArchive) + ? filePath.Substring(directoryPath.Length + 1) + : Path.Combine(directoryPathInArchive, filePath.Substring(directoryPath.Length + 1)); + archive.CreateEntryFromFile(filePath, entryName.Replace("\\", "/")); + } + } } - public static void UpdateDirectory(string path, string dirName, string directoryPathInArchive = "") + public static void UpdateDirectory(string path, string directoryPath, string directoryPathInArchive = "") { - using (ZipFile zip = ZipFile.Read(path)) + using (FileStream fs = new FileStream(path, FileMode.OpenOrCreate)) + using (ZipArchive archive = new ZipArchive(fs, ZipArchiveMode.Update)) { - if (!String.IsNullOrEmpty(directoryPathInArchive)) - zip.UpdateDirectory(dirName, directoryPathInArchive); - else - zip.UpdateDirectory(dirName); - zip.Save(); + foreach (string filePath in Directory.GetFiles(directoryPath, "*.*", SearchOption.AllDirectories)) + { + string entryName = string.IsNullOrEmpty(directoryPathInArchive) + ? filePath.Substring(directoryPath.Length + 1) + : Path.Combine(directoryPathInArchive, filePath.Substring(directoryPath.Length + 1)); + RemoveFile(path, entryName.Replace("\\", "/")); + archive.CreateEntryFromFile(filePath, entryName.Replace("\\", "/")); + } } } public static void ExtractDirectory(string path, string folderName, string destination, bool flattenFoldersOnExtract = false) { - //using (ZipFile zip = ZipFile.Read(path)) - //{ - // bool chkresult2 = zip.Any(entry => entry.FileName.Contains(folderName)); - // if (chkresult2) - // { - // zip.FlattenFoldersOnExtract = flattenFoldersOnExtract; - // zip.ExtractSelectedEntries("name = *", folderName, destination, ExtractExistingFileAction.OverwriteSilently); - // } - //} - using (ZipFile zip = ZipFile.Read(path)) + using (ZipArchive archive = ZipFile.OpenRead(path)) { - zip.FlattenFoldersOnExtract = flattenFoldersOnExtract; - foreach (ZipEntry e in zip.Where(x => x.FileName.Contains(folderName))) + foreach (ZipArchiveEntry entry in archive.Entries.Where(e => e.FullName.Contains(folderName))) { - e.Extract(destination, ExtractExistingFileAction.OverwriteSilently); + string extractPath = flattenFoldersOnExtract + ? Path.Combine(destination, Path.GetFileName(entry.FullName)) + : Path.Combine(destination, entry.FullName); + + string directoryPath = Path.GetDirectoryName(extractPath); + if (!string.IsNullOrEmpty(directoryPath)) + { + Directory.CreateDirectory(directoryPath); + } + + entry.ExtractToFile(extractPath, true); } } } - } } diff --git a/APKToolGUI/app.config b/APKToolGUI/app.config index 3884371..cbe0d07 100644 --- a/APKToolGUI/app.config +++ b/APKToolGUI/app.config @@ -308,7 +308,7 @@ - + @@ -320,7 +320,15 @@ - + + + + + + + + + diff --git a/APKToolGUI/packages.config b/APKToolGUI/packages.config index 4cbd343..a3401ac 100644 --- a/APKToolGUI/packages.config +++ b/APKToolGUI/packages.config @@ -2,8 +2,8 @@ - - + + @@ -15,14 +15,16 @@ - + + - + + @@ -32,19 +34,20 @@ - + - + + - + - + @@ -60,6 +63,7 @@ + \ No newline at end of file