fixed LaunchMode setting bug of windows runtime
Merge pull request #342 from htlxyz/v3

modify