Merge pull request #32022 from neikeq/fix-mono-export-windows-backslash

Mono: Fix PCK assembly paths when exporting from Windows
This commit is contained in:
Ignacio Roldán Etcheverry 2019-09-07 21:39:27 +02:00 committed by GitHub
commit da2af72d73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ namespace GodotTools
{
private void AddFile(string srcPath, string dstPath, bool remap = false)
{
AddFile(dstPath, File.ReadAllBytes(srcPath), remap);
AddFile(dstPath.Replace("\\", "/"), File.ReadAllBytes(srcPath), remap);
}
public override void _ExportFile(string path, string type, string[] features)