mirror of
https://github.com/munki/munki.git
synced 2026-03-20 18:30:36 -05:00
ManagedSoftwareUpdate:
New icon. New copyright notice. New bundle ID (com.googlecode.munki.managedsoftareupdate). Now recommends a logout before install even if a restart is not required. git-svn-id: http://munki.googlecode.com/svn/trunk@73 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -108,9 +108,9 @@ on clicked theObject
|
||||
"A restart is required after installation. Log out and install now?" alternate button "Cancel" default button ¬
|
||||
"Log out and install" as warning attached to window 1
|
||||
else
|
||||
--trigger ManagedInstaller
|
||||
do shell script "/usr/bin/touch /var/spool/ManagedInstaller"
|
||||
quit
|
||||
display alert "Logout Recommeded" message ¬
|
||||
"A logout is recommeded before installation. Log out and install now?" alternate button "Install without logging out" default button ¬
|
||||
"Log out and install" as warning attached to window 1
|
||||
end if
|
||||
end if
|
||||
end clicked
|
||||
@@ -142,6 +142,10 @@ on alert ended theObject with reply withReply
|
||||
end tell
|
||||
quit
|
||||
end if
|
||||
if button returned of withReply is "Install without logging out" then
|
||||
--trigger managedinstaller somehow
|
||||
quit
|
||||
end if
|
||||
if button returned of withReply is "OK" then
|
||||
-- acknowleged no new software available
|
||||
quit
|
||||
|
||||
Reference in New Issue
Block a user