Modify the publish tools for windows environment