From 7ac8d0c27e52d55745f8cf4fd5a22f17f1b0c4d1 Mon Sep 17 00:00:00 2001 From: Kostas Chatzikokolakis Date: Wed, 27 Jan 2021 13:35:56 +0200 Subject: [PATCH] ManifestResources: append "/" to rootPath if missing --- templates/haxe/ManifestResources.hx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/haxe/ManifestResources.hx b/templates/haxe/ManifestResources.hx index ca5a3583b..dd38e2fd1 100644 --- a/templates/haxe/ManifestResources.hx +++ b/templates/haxe/ManifestResources.hx @@ -33,6 +33,12 @@ import sys.FileSystem; rootPath = Reflect.field (config, "rootPath"); + if(!StringTools.endsWith(rootPath, "/")) { + + rootPath += "/"; + + } + } if (rootPath == null) {