|
@@ -66,7 +66,8 @@ class Main {
|
|
static function normPath(resolve, p:String, properCase = false):String {
|
|
static function normPath(resolve, p:String, properCase = false):String {
|
|
if (Sys.systemName() == "Windows")
|
|
if (Sys.systemName() == "Windows")
|
|
{
|
|
{
|
|
- // on windows, haxe returns lowercase paths with backslashes
|
|
|
|
|
|
+ // on windows, haxe returns lowercase paths with backslashes, drive letter uppercased
|
|
|
|
+ p = p.substr(0, 1).toUpperCase() + p.substr(1);
|
|
p = p.replace("/", "\\");
|
|
p = p.replace("/", "\\");
|
|
if (!properCase)
|
|
if (!properCase)
|
|
p = p.toLowerCase();
|
|
p = p.toLowerCase();
|