mirror of
https://github.com/Ellpeck/GameBundle.git
synced 2024-11-22 16:48:34 +01:00
also move pkginfo to contents for mac bundle
This commit is contained in:
parent
127ea75e3e
commit
8a72a7416f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ namespace GameBundle {
|
||||||
if (ignoreRegex.Any(r => r.IsMatch(file.Name)))
|
if (ignoreRegex.Any(r => r.IsMatch(file.Name)))
|
||||||
continue;
|
continue;
|
||||||
var destDir = resRegex.Any(r => r.IsMatch(file.Name)) ? resources : macOs;
|
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;
|
destDir = contents;
|
||||||
file.MoveTo(Path.Combine(destDir.FullName, file.Name), true);
|
file.MoveTo(Path.Combine(destDir.FullName, file.Name), true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue