mirror of
https://github.com/munki/munki.git
synced 2026-02-22 06:59:09 -06:00
MSU GUI should log which version is being launched.
This helps when debugging reported problems with the MSU GUI in Munki executions where the GUI was updated; was it updated before or after launching? ;) git-svn-id: http://munki.googlecode.com/svn/trunk@1272 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -52,7 +52,11 @@ class MSUAppDelegate(NSObject):
|
||||
|
||||
def applicationDidFinishLaunching_(self, sender):
|
||||
NSLog(u"Managed Software Update finished launching.")
|
||||
munki.log("MSU", "launched")
|
||||
|
||||
ver = NSBundle.mainBundle().infoDictionary().get(
|
||||
'CFBundleShortVersionString')
|
||||
NSLog("MSU GUI version: %s" % ver)
|
||||
munki.log("MSU", "launched", "VER=%s" % ver)
|
||||
|
||||
runmode = NSUserDefaults.standardUserDefaults().stringForKey_("mode") or \
|
||||
os.environ.get("ManagedSoftwareUpdateMode")
|
||||
|
||||
Reference in New Issue
Block a user