Skip to content
This repository was archived by the owner on Jul 21, 2022. It is now read-only.

Commit afc6800

Browse files
committed
1.4.3.2
1 parent c0bc260 commit afc6800

2 files changed

Lines changed: 5 additions & 21 deletions

File tree

Tools Injector Mod Menu/Form/FrmMain.cs

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,31 +1622,15 @@ private void CompileApkDone()
16221622
return;
16231623
}
16241624

1625-
while (!CheckApk(apkPath)) { }
1625+
while (File.Exists(apkPath) && File.Exists(apkTempPath))
1626+
{
16261627

1628+
}
16271629
File.Copy(apkPath, outputFile, true);
16281630
WriteOutput($"Compiled {outputFile}", Enums.LogsType.Success);
16291631
ApkWorker.RunWorkerAsync();
16301632
}
16311633

1632-
private static bool CheckApk(string path)
1633-
{
1634-
try
1635-
{
1636-
using var archive = ZipFile.OpenRead(path);
1637-
if (archive.Entries.Any(entryApks => entryApks.FullName == Utility.SmaliCountToClass(_smaliCount)))
1638-
{
1639-
return true;
1640-
}
1641-
archive.Dispose();
1642-
}
1643-
catch
1644-
{
1645-
return false;
1646-
}
1647-
return false;
1648-
}
1649-
16501634
private void ApkWorker_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
16511635
{
16521636
SignApk();

Tools Injector Mod Menu/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.4.3.1")]
36-
[assembly: AssemblyFileVersion("1.4.3.1")]
35+
[assembly: AssemblyVersion("1.4.3.2")]
36+
[assembly: AssemblyFileVersion("1.4.3.2")]

0 commit comments

Comments
 (0)