Merge pull request #66 from lihex/develop

fix the path replacement on win32
only remove the .app in output_dir
exclude filed is optional now
change the arguments type to array for append dir cmd