I'm using this library to auto-update my plugin, but it's only extracting the new plugin files into a .tmp directory, while the old plugin files stay where they are. Can anybody help me fix this to overwrite the old files or any ideas as to why it would be doing that?
Edit: I know that the library above does not actually install the update, but the WP core updater does, so it has something to do with that. Any ideas?