refer to https://github.com/adobe/brackets-shell/pull/359/files#r7409521