From 0fdbb6b2ed67c08216ee98758ef1a68619e4e752 Mon Sep 17 00:00:00 2001 From: Justin Espedal Date: Wed, 19 Jun 2019 16:22:32 -0700 Subject: [PATCH] Fix asset loading on Windows --- templates/haxe/ManifestResources.hx | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/haxe/ManifestResources.hx b/templates/haxe/ManifestResources.hx index 12687479f..b0e825220 100644 --- a/templates/haxe/ManifestResources.hx +++ b/templates/haxe/ManifestResources.hx @@ -43,8 +43,6 @@ import sys.FileSystem; rootPath = lime.system.System.applicationDirectory; #elseif (winrt) rootPath = "./"; - #elseif (sys && windows && !cs) - rootPath = FileSystem.absolutePath (haxe.io.Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/"; #else rootPath = ""; #end