MACOSX: Add Sparkle support
This commit is contained in:
parent
da60ff3ded
commit
828f1884b4
15 changed files with 446 additions and 6 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "backends/platform/sdl/macosx/macosx.h"
|
||||
#include "backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h"
|
||||
#include "backends/platform/sdl/macosx/appmenu_osx.h"
|
||||
#include "backends/updates/macosx/macosx-updates.h"
|
||||
|
||||
#include "common/archive.h"
|
||||
#include "common/config-manager.h"
|
||||
|
@ -63,6 +64,11 @@ void OSystem_MacOSX::initBackend() {
|
|||
// Replace the SDL generated menu items with our own translated ones on Mac OS X
|
||||
replaceApplicationMenuItems();
|
||||
|
||||
#if defined(USE_SPARKLE)
|
||||
// Initialize updates manager
|
||||
_updateManager = new MacOSXUpdateManager();
|
||||
#endif
|
||||
|
||||
// Invoke parent implementation of this method
|
||||
OSystem_POSIX::initBackend();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue