Compare commits

..

4 commits
1.0 ... master

Author SHA1 Message Date
KawaiiZenbo
6c2694cdc5
Create LICENSE 2022-08-10 13:21:48 -07:00
KawaiiZenbo
753e6597c7
Delete LICENSE 2022-08-09 20:19:31 -07:00
kawaiizenbo
9b5e433d3c giasfelfbbrehber 2022-06-19 12:01:05 -07:00
kawaiizenbo
e61d7cef93 not stupid 2022-06-18 16:53:48 -07:00
2 changed files with 4 additions and 8 deletions

View file

@ -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;
} }
} }

View file

@ -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