HaxeFlixel / flixel-tools

Command Line tools for HaxeFlixel, create demos, templates and more.
50 stars 17 forks source link

flixel tpl and flixel create fail with misleading error in directories that require admin rights #47

Open Gama11 opened 9 years ago

Gama11 commented 9 years ago

See https://github.com/HaxeFlixel/flixel/issues/1435.

If possible, we could show a more helpful error message here (Something like "Template could not be created - admin rights required").

Gama11 commented 9 years ago

For some reason Sys.getCwd() returns C:\HaxeToolkit\haxe\lib\flixel-tools\git/ when calling the run.n via haxelib if the cwd is actually C:\...