not stupid
This commit is contained in:
parent
6478783455
commit
e61d7cef93
1 changed files with 1 additions and 6 deletions
|
@ -120,12 +120,7 @@ namespace IPASorter
|
||||||
{
|
{
|
||||||
i.CFBundleDisplayName = i.CFBundleIdentifier.Split('.')[2];
|
i.CFBundleDisplayName = i.CFBundleIdentifier.Split('.')[2];
|
||||||
}
|
}
|
||||||
string whichToUse = "CFBundleVersion";
|
i.CFBundleVersion = plist["CFBundleVersion"].ToString();
|
||||||
if (plist["CFBundleVersion"].ToString() == "1")
|
|
||||||
{
|
|
||||||
whichToUse = "CFBundleShortVersionString";
|
|
||||||
}
|
|
||||||
i.CFBundleVersion = plist[whichToUse].ToString();
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
i.MinimumOSVersion = plist["MinimumOSVersion"].ToString();
|
i.MinimumOSVersion = plist["MinimumOSVersion"].ToString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue