mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Changes: - Use NSURLSession and OakDownloadManager to download updates (instead of libcurl). - Use NSFileManager’s replaceItemAtURL:… to update the application bundle (instead of custom code). - Use NSTask to relaunch the application (instead of fork/exec). - Use the same window for the initial prompt, and for showing download progress. - Show estimated time remaining in download window (via NSProgress). - Allow retrying downloads on various forms of failures. - Don’t require xib file for download window. Regressions: - We no longer support updating the application as root: I tried using an authorized NSFileManager instance, but it did not work for me, and the previous code we used for this was using legacy APIs.