mirror of
https://github.com/Ellpeck/GameBundle.git
synced 2024-05-02 09:17:51 +02:00
also move pkginfo to contents for mac bundle
This commit is contained in:
parent
127ea75e3e
commit
8a72a7416f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue