mirror of
https://github.com/AndnixSH/APKToolGUI.git
synced 2026-05-04 11:02:27 +00:00
Add input file/directory to log
This commit is contained in:
@@ -468,6 +468,7 @@ namespace APKToolGUI
|
||||
Invoke(new Action(delegate ()
|
||||
{
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.Signing + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputFile, input));
|
||||
ToStatus(String.Format(Language.Signing + " \"{0}\"...", Path.GetFileName(input)), Resources.waiting);
|
||||
}));
|
||||
|
||||
@@ -516,6 +517,7 @@ namespace APKToolGUI
|
||||
Invoke(new Action(delegate ()
|
||||
{
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.Decoding + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputFile, inputApk));
|
||||
ToStatus(String.Format(Language.Decoding + " \"{0}\"...", Path.GetFileName(inputApk)), Resources.waiting);
|
||||
}));
|
||||
|
||||
@@ -577,6 +579,7 @@ namespace APKToolGUI
|
||||
|
||||
Running();
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.Build + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputFile, inputFile));
|
||||
ToStatus(String.Format(Language.Build + " \"{0}\"...", Path.GetFileName(textBox_BUILD_InputProjectDir.Text)), Resources.waiting);
|
||||
|
||||
try
|
||||
@@ -669,7 +672,6 @@ namespace APKToolGUI
|
||||
ToLog(ApktoolEventType.Information, e.Message);
|
||||
}
|
||||
|
||||
|
||||
internal async Task<int> Baksmali(string inputFile)
|
||||
{
|
||||
int code = 0;
|
||||
@@ -677,6 +679,8 @@ namespace APKToolGUI
|
||||
{
|
||||
Running();
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.DecompilingDex + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputFile, inputFile));
|
||||
|
||||
ToStatus(String.Format(Language.DecompilingDex + "...", Path.GetFileName(baksmaliBrowseInputDexTxtBox.Text)), Resources.waiting);
|
||||
|
||||
await Task.Factory.StartNew(() =>
|
||||
@@ -734,6 +738,7 @@ namespace APKToolGUI
|
||||
{
|
||||
Running();
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.CompilingDex + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputDirectory, inputDir));
|
||||
ToStatus(String.Format(Language.DecompilingDex + "...", Path.GetFileName(smaliBrowseInputDirTxtBox.Text)), Resources.waiting);
|
||||
|
||||
await Task.Factory.StartNew(() =>
|
||||
@@ -783,6 +788,7 @@ namespace APKToolGUI
|
||||
Invoke(new Action(delegate ()
|
||||
{
|
||||
ToLog(ApktoolEventType.Information, "=====[ " + Language.Aligning + " ]=====");
|
||||
ToLog(ApktoolEventType.Information, String.Format(Language.InputFile, input));
|
||||
ToStatus(String.Format(Language.Aligning + " \"{0}\"...", Path.GetFileName(input)), Resources.waiting);
|
||||
}));
|
||||
|
||||
|
||||
+19
-1
@@ -19,7 +19,7 @@ namespace APKToolGUI.Languages {
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Language {
|
||||
@@ -645,6 +645,24 @@ namespace APKToolGUI.Languages {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Input directory: {0}.
|
||||
/// </summary>
|
||||
internal static string InputDirectory {
|
||||
get {
|
||||
return ResourceManager.GetString("InputDirectory", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Input file: {0}.
|
||||
/// </summary>
|
||||
internal static string InputFile {
|
||||
get {
|
||||
return ResourceManager.GetString("InputFile", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Install framework.
|
||||
/// </summary>
|
||||
|
||||
@@ -405,4 +405,10 @@
|
||||
<data name="ErrorGettingApkInfo" xml:space="preserve">
|
||||
<value>There was an error getting APK infomation</value>
|
||||
</data>
|
||||
<data name="InputDirectory" xml:space="preserve">
|
||||
<value>Input directory: {0}</value>
|
||||
</data>
|
||||
<data name="InputFile" xml:space="preserve">
|
||||
<value>Input file: {0}</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user