Merge pull request #103 from natural-law/develop

Optimize the command of run Mac app.
closed #4990. Fix the error when rename file on windows.