Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6c2694cdc5 | ||
![]() |
753e6597c7 | ||
![]() |
9b5e433d3c | ||
![]() |
e61d7cef93 |
2 changed files with 4 additions and 8 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();
|
||||||
|
@ -147,7 +142,8 @@ namespace IPASorter
|
||||||
File.Move(i.path, $"{path}/incomplete/{i.fileName.Replace(".ipa", $"-{i.md5sum}.ipa")}", true);
|
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.path = $"{path}/incomplete/{i.fileName.Replace(".ipa", $"-{i.md5sum}.ipa")}";
|
||||||
i.MinimumOSVersion = "DO NOT ENUMERATE";
|
i.MinimumOSVersion = "DO NOT ENUMERATE";
|
||||||
Directory.Delete($"./sortertemp/{i.fileName}", true);
|
try { Directory.Delete($"./sortertemp/{i.fileName}", true); }
|
||||||
|
catch { }
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2021 the KawaiiZenbos/the Gum Hive
|
Copyright (c) 2022 KawaiiZenbo
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
Loading…
Add table
Reference in a new issue