mirror of
https://github.com/munki/munki.git
synced 2026-05-03 19:10:21 -05:00
Added ManagedSoftwareUpdate.xcodeproj.
This is a new tool for user notification of available Managed software updates. git-svn-id: http://munki.googlecode.com/svn/trunk@46 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 146 B |
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.apple.ASApplication</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0</string>
|
||||
<key>NSAppleScriptEnabled</key>
|
||||
<string>YES</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Binary file not shown.
@@ -0,0 +1,152 @@
|
||||
-- ManagedSoftwareUpdate.applescript
|
||||
-- ManagedSoftwareUpdate
|
||||
|
||||
-- Created by Greg Neagle on 5/7/09.
|
||||
--
|
||||
-- Copyright 2009 Greg Neagle.
|
||||
--
|
||||
-- Licensed under the Apache License, Version 2.0 (the "License");
|
||||
-- you may not use this file except in compliance with the License.
|
||||
-- You may obtain a copy of the License at
|
||||
--
|
||||
-- http://www.apache.org/licenses/LICENSE-2.0
|
||||
--
|
||||
-- Unless required by applicable law or agreed to in writing, software
|
||||
-- distributed under the License is distributed on an "AS IS" BASIS,
|
||||
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
-- See the License for the specific language governing permissions and
|
||||
-- limitations under the License.
|
||||
|
||||
on itemstoinstall()
|
||||
set installlist to {}
|
||||
set ManagedInstallPrefs to "/Library/Preferences/ManagedInstalls.plist"
|
||||
try
|
||||
tell application "System Events"
|
||||
set managedInstallDir to value of property list item "managed_install_dir" of property list file ManagedInstallPrefs
|
||||
set InstallInfo to managedInstallDir & "/InstallInfo.plist"
|
||||
set managedinstalllist to value of property list item "managed_installs" of property list file InstallInfo
|
||||
repeat with installitem in managedinstalllist
|
||||
if (installed of installitem) is false then
|
||||
set end of installlist to (installitem as item)
|
||||
end if
|
||||
end repeat
|
||||
end tell
|
||||
end try
|
||||
return installlist as list
|
||||
end itemstoinstall
|
||||
|
||||
on restartRequired()
|
||||
copy itemstoinstall() to installitems
|
||||
repeat with installitem in installitems
|
||||
try
|
||||
if |RestartAction| of installitem is "RequireRestart" then
|
||||
return true
|
||||
end if
|
||||
end try
|
||||
end repeat
|
||||
return false
|
||||
end restartRequired
|
||||
|
||||
|
||||
on awake from nib theObject
|
||||
if name of theObject is "table" then
|
||||
set theDataSource to make new data source at end
|
||||
|
||||
make new data column at end of data columns of theDataSource with properties {name:"image"}
|
||||
make new data column at end of data columns of theDataSource with properties {name:"name"}
|
||||
make new data column at end of data columns of theDataSource with properties {name:"version"}
|
||||
make new data column at end of data columns of theDataSource with properties {name:"description"}
|
||||
make new data column at end of data columns of theDataSource with properties {name:"restartaction"}
|
||||
|
||||
copy my itemstoinstall() to installitems
|
||||
set EmptyImage to load image "Empty"
|
||||
set RestartImage to load image "RestartReq"
|
||||
|
||||
if (count of installitems) is 0 then
|
||||
display alert "Your software is up to date." message ¬
|
||||
"There is no new software for your computer at this time." default button ¬
|
||||
"OK" as informational attached to window 1
|
||||
return
|
||||
end if
|
||||
|
||||
repeat with installitem in installitems
|
||||
|
||||
set theDataRow to make new data row at end of data rows of theDataSource
|
||||
try
|
||||
if |RestartAction| of installitem is "RequireRestart" then
|
||||
set contents of data cell "image" of theDataRow to RestartImage
|
||||
end if
|
||||
on error
|
||||
set contents of data cell "image" of theDataRow to EmptyImage
|
||||
end try
|
||||
try
|
||||
set contents of data cell "name" of theDataRow to display_name of installitem
|
||||
end try
|
||||
if contents of data cell "name" of theDataRow is "" then
|
||||
set contents of data cell "name" of theDataRow to |name| of installitem
|
||||
end if
|
||||
set contents of data cell "version" of theDataRow to version_to_install of installitem
|
||||
set contents of data cell "description" of theDataRow to |description| of installitem
|
||||
try
|
||||
set contents of data cell "restartaction" of theDataRow to |RestartAction| of installitem
|
||||
end try
|
||||
end repeat
|
||||
|
||||
set data source of theObject to theDataSource
|
||||
end if
|
||||
end awake from nib
|
||||
|
||||
on clicked theObject
|
||||
if the name of theObject is "laterBtn" then
|
||||
quit
|
||||
end if
|
||||
|
||||
if the name of theObject is "installBtn" then
|
||||
copy my restartRequired() to restartNeeded
|
||||
if restartNeeded then
|
||||
display alert "Restart Required" message ¬
|
||||
"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
|
||||
end if
|
||||
end if
|
||||
end clicked
|
||||
|
||||
on will close theObject
|
||||
if the name of theObject is "mainWindow" then
|
||||
quit
|
||||
end if
|
||||
end will close
|
||||
|
||||
on selection changed theObject
|
||||
if the name of theObject is "table" then
|
||||
set theDataRow to selected data row of theObject
|
||||
set theDescription to the contents of data cell "description" of theDataRow
|
||||
set theRestartAction to the contents of data cell "restartaction" of theDataRow
|
||||
if theRestartAction is "RequireRestart" then
|
||||
set theRestartAction to "Restart required after install."
|
||||
end if
|
||||
set theText to theDescription & return & theRestartAction
|
||||
set contents of text field "descriptionFld" of view "descriptionFldView" of scroll view ¬
|
||||
"descriptionScrollView" of view "splitViewBottom" of split view "splitView" of window id 1 to theText
|
||||
end if
|
||||
end selection changed
|
||||
|
||||
on alert ended theObject with reply withReply
|
||||
if button returned of withReply is "Log out and install" then
|
||||
-- trigger ManagedInstaller
|
||||
-- we just tell the OS to restart; the logout hook
|
||||
-- should kick in for the install
|
||||
tell application "System Events"
|
||||
restart
|
||||
end tell
|
||||
quit
|
||||
end if
|
||||
if button returned of withReply is "OK" then
|
||||
-- acknowleged no new software available
|
||||
quit
|
||||
end if
|
||||
end alert ended
|
||||
Binary file not shown.
@@ -0,0 +1,91 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
257572C2072881A4000BE9CA = {
|
||||
activeExec = 0;
|
||||
executables = (
|
||||
25D9445407B1533600FF306F,
|
||||
);
|
||||
};
|
||||
25D9445407B1533600FF306F = {
|
||||
activeArgIndex = 2147483647;
|
||||
activeArgIndices = (
|
||||
);
|
||||
argumentStrings = (
|
||||
);
|
||||
configStateDict = {
|
||||
"PBXLSLaunchAction-1" = {
|
||||
PBXLSLaunchAction = 1;
|
||||
PBXLSLaunchStartAction = 1;
|
||||
PBXLSLaunchStdioStyle = 2;
|
||||
PBXLSLaunchStyle = 0;
|
||||
class = ASKDebuggerLaunchConfig;
|
||||
displayName = "AppleScript Debugger";
|
||||
identifier = com.apple.AppleScriptStudio.ASKDebugLaunchConfig;
|
||||
remoteHostInfo = "";
|
||||
startActionInfo = "";
|
||||
};
|
||||
};
|
||||
cppStopOnCatchEnabled = 0;
|
||||
cppStopOnThrowEnabled = 0;
|
||||
customDataFormattersEnabled = 1;
|
||||
debuggerPlugin = ASKDebugger;
|
||||
disassemblyDisplayState = 0;
|
||||
dylibVariantSuffix = "";
|
||||
enableDebugStr = 1;
|
||||
environmentEntries = (
|
||||
{
|
||||
active = NO;
|
||||
name = AEDebug;
|
||||
value = 1;
|
||||
},
|
||||
{
|
||||
active = NO;
|
||||
name = AEDebugSends;
|
||||
value = 1;
|
||||
},
|
||||
{
|
||||
active = NO;
|
||||
name = AEDebugReceives;
|
||||
value = 1;
|
||||
},
|
||||
{
|
||||
active = NO;
|
||||
name = AEDebugVerbose;
|
||||
value = 1;
|
||||
},
|
||||
);
|
||||
executableSystemSymbolLevel = 0;
|
||||
executableUserSymbolLevel = 0;
|
||||
isa = PBXExecutable;
|
||||
libgmallocEnabled = 0;
|
||||
name = "ManagedSoftwareUpdate";
|
||||
shlibInfoDictList = (
|
||||
);
|
||||
sourceDirectories = (
|
||||
);
|
||||
};
|
||||
25D9445A07B1533700FF306F = {
|
||||
fallbackIsa = XCSourceControlManager;
|
||||
isSCMEnabled = 0;
|
||||
isa = PBXSourceControlManager;
|
||||
scmConfiguration = {
|
||||
};
|
||||
scmType = "";
|
||||
};
|
||||
25D9445B07B1533700FF306F = {
|
||||
indexTemplatePath = "";
|
||||
isa = PBXCodeSenseManager;
|
||||
};
|
||||
29B97313FDCFA39411CA2CEA = {
|
||||
activeBuildStyle = 4A9504CCFFE6A4B311CA0CBA;
|
||||
activeExecutable = 25D9445407B1533600FF306F;
|
||||
activeTarget = 257572C2072881A4000BE9CA;
|
||||
codeSenseManager = 25D9445B07B1533700FF306F;
|
||||
executables = (
|
||||
25D9445407B1533600FF306F,
|
||||
);
|
||||
sourceControlManager = 25D9445A07B1533700FF306F;
|
||||
userBuildSettings = {
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,327 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 45;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXAppleScriptBuildPhase section */
|
||||
257572C4072881A4000BE9CA /* AppleScript */ = {
|
||||
isa = PBXAppleScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
contextName = "";
|
||||
files = (
|
||||
257572C5072881A4000BE9CA /* ManagedSoftwareUpdate.applescript in AppleScript */,
|
||||
);
|
||||
isSharedContext = 0;
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXAppleScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
257572C5072881A4000BE9CA /* ManagedSoftwareUpdate.applescript in AppleScript */ = {isa = PBXBuildFile; fileRef = DA206CF3015C4E8B03C91932 /* ManagedSoftwareUpdate.applescript */; settings = {ATTRIBUTES = (Debug, ); }; };
|
||||
257572C8072881A4000BE9CA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
|
||||
257572CA072881A4000BE9CA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
|
||||
257572CC072881A4000BE9CA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
|
||||
257572CD072881A4000BE9CA /* AppleScriptKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA206CF1015C4E2903C91932 /* AppleScriptKit.framework */; };
|
||||
60A014C40DBD2AA20071D9A8 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 60A014C20DBD2AA20071D9A8 /* MainMenu.xib */; };
|
||||
C09152A20FB51AE1006BC8DE /* Empty.png in Resources */ = {isa = PBXBuildFile; fileRef = C09152A10FB51AE1006BC8DE /* Empty.png */; };
|
||||
C09153060FB64FD1006BC8DE /* ManagedSoftwareUpdate.icns in Resources */ = {isa = PBXBuildFile; fileRef = C09153050FB64FD1006BC8DE /* ManagedSoftwareUpdate.icns */; };
|
||||
C0ACDAA70FB4A387006D30B3 /* Installer.tiff in Resources */ = {isa = PBXBuildFile; fileRef = C0ACDA9A0FB4A386006D30B3 /* Installer.tiff */; };
|
||||
C0ACDAAC0FB4A387006D30B3 /* package.tiff in Resources */ = {isa = PBXBuildFile; fileRef = C0ACDA9F0FB4A386006D30B3 /* package.tiff */; };
|
||||
C0ACDAAD0FB4A387006D30B3 /* Restart.tif in Resources */ = {isa = PBXBuildFile; fileRef = C0ACDAA00FB4A386006D30B3 /* Restart.tif */; };
|
||||
C0ACDAB00FB4A387006D30B3 /* RestartReq.tif in Resources */ = {isa = PBXBuildFile; fileRef = C0ACDAA30FB4A386006D30B3 /* RestartReq.tif */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
|
||||
257572D5072881A4000BE9CA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
257572D6072881A4000BE9CA /* ManagedSoftwareUpdate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ManagedSoftwareUpdate.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
|
||||
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
|
||||
60A014C30DBD2AA20071D9A8 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||
65359356078DD41800E8BB2F /* AppleScriptKit.sdef */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.sdef; name = AppleScriptKit.sdef; path = /System/Library/Frameworks/AppleScriptKit.framework/Versions/A/Resources/AppleScriptKit.sdef; sourceTree = "<absolute>"; };
|
||||
C09152A10FB51AE1006BC8DE /* Empty.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Empty.png; sourceTree = "<group>"; };
|
||||
C09153050FB64FD1006BC8DE /* ManagedSoftwareUpdate.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = ManagedSoftwareUpdate.icns; sourceTree = "<group>"; };
|
||||
C0ACDA9A0FB4A386006D30B3 /* Installer.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Installer.tiff; sourceTree = "<group>"; };
|
||||
C0ACDA9F0FB4A386006D30B3 /* package.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = package.tiff; sourceTree = "<group>"; };
|
||||
C0ACDAA00FB4A386006D30B3 /* Restart.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = Restart.tif; sourceTree = "<group>"; };
|
||||
C0ACDAA30FB4A386006D30B3 /* RestartReq.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = RestartReq.tif; sourceTree = "<group>"; };
|
||||
DA206CF1015C4E2903C91932 /* AppleScriptKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppleScriptKit.framework; path = /System/Library/Frameworks/AppleScriptKit.framework; sourceTree = "<absolute>"; };
|
||||
DA206CF3015C4E8B03C91932 /* ManagedSoftwareUpdate.applescript */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.applescript; path = ManagedSoftwareUpdate.applescript; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
257572CB072881A4000BE9CA /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
257572CC072881A4000BE9CA /* Cocoa.framework in Frameworks */,
|
||||
257572CD072881A4000BE9CA /* AppleScriptKit.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
080E96DDFE201D6D7F000001 /* Scripts */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DA206CF3015C4E8B03C91932 /* ManagedSoftwareUpdate.applescript */,
|
||||
);
|
||||
name = Scripts;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
|
||||
DA206CF1015C4E2903C91932 /* AppleScriptKit.framework */,
|
||||
);
|
||||
name = "Linked Frameworks";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
29B97325FDCFA39411CA2CEA /* Foundation.framework */,
|
||||
29B97324FDCFA39411CA2CEA /* AppKit.framework */,
|
||||
);
|
||||
name = "Other Frameworks";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
19C28FACFE9D520D11CA2CBB /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
257572D6072881A4000BE9CA /* ManagedSoftwareUpdate.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97314FDCFA39411CA2CEA /* ManagedSoftwareUpdate */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
080E96DDFE201D6D7F000001 /* Scripts */,
|
||||
29B97317FDCFA39411CA2CEA /* Resources */,
|
||||
29B97315FDCFA39411CA2CEA /* Other Sources */,
|
||||
29B97323FDCFA39411CA2CEA /* Frameworks */,
|
||||
19C28FACFE9D520D11CA2CBB /* Products */,
|
||||
257572D5072881A4000BE9CA /* Info.plist */,
|
||||
);
|
||||
name = ManagedSoftwareUpdate;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
29B97316FDCFA39411CA2CEA /* main.m */,
|
||||
);
|
||||
name = "Other Sources";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97317FDCFA39411CA2CEA /* Resources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
C09153050FB64FD1006BC8DE /* ManagedSoftwareUpdate.icns */,
|
||||
C09152A10FB51AE1006BC8DE /* Empty.png */,
|
||||
C0ACDA9A0FB4A386006D30B3 /* Installer.tiff */,
|
||||
C0ACDA9F0FB4A386006D30B3 /* package.tiff */,
|
||||
C0ACDAA00FB4A386006D30B3 /* Restart.tif */,
|
||||
C0ACDAA30FB4A386006D30B3 /* RestartReq.tif */,
|
||||
60A014C20DBD2AA20071D9A8 /* MainMenu.xib */,
|
||||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
|
||||
65359356078DD41800E8BB2F /* AppleScriptKit.sdef */,
|
||||
);
|
||||
name = Resources;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
|
||||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
257572C3072881A4000BE9CA /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXHeadersBuildPhase section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
257572C2072881A4000BE9CA /* ManagedSoftwareUpdate */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 4E71A80508A2C90C0034BBD9 /* Build configuration list for PBXNativeTarget "ManagedSoftwareUpdate" */;
|
||||
buildPhases = (
|
||||
257572C3072881A4000BE9CA /* Headers */,
|
||||
257572C4072881A4000BE9CA /* AppleScript */,
|
||||
257572C6072881A4000BE9CA /* Resources */,
|
||||
257572C9072881A4000BE9CA /* Sources */,
|
||||
257572CB072881A4000BE9CA /* Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = ManagedSoftwareUpdate;
|
||||
productInstallPath = "$(HOME)/Applications";
|
||||
productName = ManagedSoftwareUpdate;
|
||||
productReference = 257572D6072881A4000BE9CA /* ManagedSoftwareUpdate.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 4E71A80908A2C90C0034BBD9 /* Build configuration list for PBXProject "ManagedSoftwareUpdate" */;
|
||||
compatibilityVersion = "Xcode 3.1";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = 29B97314FDCFA39411CA2CEA /* ManagedSoftwareUpdate */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
257572C2072881A4000BE9CA /* ManagedSoftwareUpdate */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
257572C6072881A4000BE9CA /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
257572C8072881A4000BE9CA /* InfoPlist.strings in Resources */,
|
||||
60A014C40DBD2AA20071D9A8 /* MainMenu.xib in Resources */,
|
||||
C0ACDAA70FB4A387006D30B3 /* Installer.tiff in Resources */,
|
||||
C0ACDAAC0FB4A387006D30B3 /* package.tiff in Resources */,
|
||||
C0ACDAAD0FB4A387006D30B3 /* Restart.tif in Resources */,
|
||||
C0ACDAB00FB4A387006D30B3 /* RestartReq.tif in Resources */,
|
||||
C09152A20FB51AE1006BC8DE /* Empty.png in Resources */,
|
||||
C09153060FB64FD1006BC8DE /* ManagedSoftwareUpdate.icns in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
257572C9072881A4000BE9CA /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
257572CA072881A4000BE9CA /* main.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
089C165DFE840E0CC02AAC07 /* English */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
60A014C20DBD2AA20071D9A8 /* MainMenu.xib */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
60A014C30DBD2AA20071D9A8 /* English */,
|
||||
);
|
||||
name = MainMenu.xib;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
4E71A80608A2C90C0034BBD9 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
||||
GCC_MODEL_TUNING = G5;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
PRODUCT_NAME = ManagedSoftwareUpdate;
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4E71A80708A2C90C0034BBD9 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_MODEL_TUNING = G5;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
OTHER_OSAFLAGS = "-x";
|
||||
PRODUCT_NAME = ManagedSoftwareUpdate;
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
4E71A80A08A2C90C0034BBD9 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx10.4;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4E71A80B08A2C90C0034BBD9 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
PREBINDING = NO;
|
||||
SDKROOT = macosx10.4;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
4E71A80508A2C90C0034BBD9 /* Build configuration list for PBXNativeTarget "ManagedSoftwareUpdate" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4E71A80608A2C90C0034BBD9 /* Debug */,
|
||||
4E71A80708A2C90C0034BBD9 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
4E71A80908A2C90C0034BBD9 /* Build configuration list for PBXProject "ManagedSoftwareUpdate" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4E71A80A08A2C90C0034BBD9 /* Debug */,
|
||||
4E71A80B08A2C90C0034BBD9 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
extern void ASKInitialize();
|
||||
extern int NSApplicationMain(int argc, const char *argv[]);
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
ASKInitialize();
|
||||
|
||||
return NSApplicationMain(argc, argv);
|
||||
}
|
||||
Binary file not shown.
Reference in New Issue
Block a user