Skip to content

Conversation

@0xEEEE
Copy link

@0xEEEE 0xEEEE commented Apr 3, 2019

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.

@0xEEEE
Copy link
Author

0xEEEE commented Jul 25, 2019

之前判断方法if platform.system() == 'Darwin'无效
修改为if sublime.platform() == 'osx'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant