FileHeader
FileHeader copied to clipboard
fix(macOS): created time equal last modified time
When add header to an existed file, it always set created time as last modified time, because .st_ctime is equal to .st_mtime on macOS. So I used .st_birthtime to get file's created time, hope it useful for macOS users. Thank you for your work, it's a great plugin.
之前判断方法if platform.system() == 'Darwin'
无效
修改为if sublime.platform() == 'osx'