Update the TODO file after Mac testing and make a note that elevation on Mac only works when running the app directly on the Mac (as opposed to over an SSH session).

This commit is contained in:
Robert Knight 2011-08-22 14:55:31 +01:00
parent 8149afd091
commit 28b9d50f0a
2 changed files with 9 additions and 3 deletions

6
TODO
View file

@ -2,18 +2,18 @@ Updater Tasks:
* Elevation for Linux [done - needs testing]
* Set file permissions for Unix [done]
* Elevation for Mac [done]
* Basic functionality for Mac [done]
* Unit test working under Mac [done]
* Set file permissions for Windows
* Basic functionality for Windows
* Basic functionality for Mac
* Elevation for Windows
* Elevation for Mac
* Win32 UI for Windows
* Cocoa UI for Mac
* Gtk or Qt UI for Linux
* Retry/cancel support if updater cannot overwrite file (eg. due to
file being in use by Microsoft Word or another application)
* Unit test working under Windows
* Unit test working under Mac
* Start new application once installation is finished
Mendeley Desktop <= 1.0 auto-update system compatibility:

View file

@ -144,6 +144,12 @@ void ProcessUtils::runElevatedLinux(const std::string& executable,
void ProcessUtils::runElevatedMac(const std::string& executable,
const std::list<std::string>& args)
{
// request elevation using the Security Service.
//
// This only works when the application is being run directly
// from the Mac. Attempting to run the app via a remote SSH session
// (for example) will fail with an interaction-not-allowed error
OSStatus status;
AuthorizationRef authorizationRef;