Mono: Fix PCK assembly paths when exporting from Windows
Assembly paths were written to PCK files with backslash as path separator and PackedData only supports forward slash. This would make exported games unable to find the assemblies.
This commit is contained in:
parent
4ee8ecd3ef
commit
e439581198
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue