objective c - Application isn't the active one, after an update with Sparkle -
i use sparkle provide updates application.
the process simple , basic 1 : updates application zipped , xml appcast provides sparkle url zip.
all work expected, sparkle advertises of update, , once click install it, downloads, unpacks archive, , asks install , relaunch.
there 1 problem : after relaunch application isn't active (foremost ?) one, : application (re)launched 'finish_installation' tool stays @ bottom of applications stack.
from how other apps updated sparkle behave, isn't normal behavior , application correctly given focus system on normal, classic launches.
if matters, run mac os x 10.9.1 , xcode 5.0.2, , application document-based.
i did notice message in system log, saying zip importer encountered error (2) parsing archive used update, doubt root of problem.
does observed such behavior ? on non-update configuration ? appreciated.
i haven't observed behavior on apps. should fixable adding [nsapp activateignoringotherapps:yes];
in app delegate's awakefromnib
or applicationdidfinishlaunching:
methods.
if want app activate when it's being launched 'finish_installation', maybe check name of parent process of app ?
Comments
Post a Comment