also move pkginfo to contents for mac bundle

This commit is contained in:
Ell 2021-10-18 17:24:05 +02:00
parent 127ea75e3e
commit 8a72a7416f

View file

@ -147,7 +147,7 @@ namespace GameBundle {
if (ignoreRegex.Any(r => r.IsMatch(file.Name)))
continue;
var destDir = resRegex.Any(r => r.IsMatch(file.Name)) ? resources : macOs;
if (file.Name.EndsWith("plist"))
if (file.Name.EndsWith("plist") || file.Name == "PkgInfo")
destDir = contents;
file.MoveTo(Path.Combine(destDir.FullName, file.Name), true);
}