Compare commits

..

No commits in common. "master" and "1.0" have entirely different histories.
master ... 1.0

2 changed files with 8 additions and 4 deletions

View file

@ -120,7 +120,12 @@ namespace IPASorter
{
i.CFBundleDisplayName = i.CFBundleIdentifier.Split('.')[2];
}
i.CFBundleVersion = plist["CFBundleVersion"].ToString();
string whichToUse = "CFBundleVersion";
if (plist["CFBundleVersion"].ToString() == "1")
{
whichToUse = "CFBundleShortVersionString";
}
i.CFBundleVersion = plist[whichToUse].ToString();
try
{
i.MinimumOSVersion = plist["MinimumOSVersion"].ToString();
@ -142,8 +147,7 @@ namespace IPASorter
File.Move(i.path, $"{path}/incomplete/{i.fileName.Replace(".ipa", $"-{i.md5sum}.ipa")}", true);
i.path = $"{path}/incomplete/{i.fileName.Replace(".ipa", $"-{i.md5sum}.ipa")}";
i.MinimumOSVersion = "DO NOT ENUMERATE";
try { Directory.Delete($"./sortertemp/{i.fileName}", true); }
catch { }
Directory.Delete($"./sortertemp/{i.fileName}", true);
continue;
}
}

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 KawaiiZenbo
Copyright (c) 2021 the KawaiiZenbos/the Gum Hive
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal