Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

Commit

Permalink
1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
macmule committed Dec 18, 2015
1 parent b239e28 commit 7c26859
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 10 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "4362"
endingLineNumber = "4362">
endingLineNumber = "4362"
landmarkName = "on copyBootEfi_(sender)"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
Expand Down
2 changes: 1 addition & 1 deletion AutoCasperNBI/AutoCasperNBI-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.2</string>
<string>1.3.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
50 changes: 48 additions & 2 deletions AutoCasperNBI/AutoCasperNBIAppDelegate.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -2548,8 +2548,8 @@ script AutoCasperNBIAppDelegate
--Log Action
set logMe to "Successfully emptied targeted directories in " & netBootDmgMountPath & "/System/Library/"
logToFile_(me)
-- Delete swap files from the NetBoot.dmg
removeSwapFiles_(me)
-- Creates the folder path /Library/Application Support/Apple/Remote Desktop/ as this is needed on 10.11.2
createRemoteDesktopFolder_(me)
else
--Log Action
set logMe to "NetBoot reduction not enabled. Skipping..."
Expand All @@ -2570,6 +2570,52 @@ script AutoCasperNBIAppDelegate
end try
end reduceNetBootImage_

-- Creates the folder path /Library/Application Support/Apple/Remote Desktop/ as this is needed on 10.11.2
on createRemoteDesktopFolder_(sender)
-- Update Build Process Window's Text Field
set my buildProcessTextField to "Creating Remote Desktop Folder"
delay 0.1
-- Update build Process ProgressBar
set my buildProcessProgressBar to buildProcessProgressBar + 1
-- Set variableVariable
set variableVariable to netBootDmgMountPath & "/Library/Application Support/Apple/Remote Desktop/"
--Log Action
set logMe to "Creating " & variableVariable
-- Log To file
logToFile_(me)
try
-- Make certficates directory
do shell script "/bin/mkdir -p " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
--Log Action
set logMe to "Trying to set ownership to root:wheel on " & quoted form of variableVariable
logToFile_(me)
-- Correct ownership
do shell script "/usr/sbin/chown -R root:wheel " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
--Log Action
set logMe to "Set ownership to root:wheel on " & quoted form of variableVariable
logToFile_(me)
-- Update build Process ProgressBar
set my buildProcessProgressBar to buildProcessProgressBar + 1
--Log Action
set logMe to "Trying to set permissions to 755 on " & quoted form of variableVariable
logToFile_(me)
-- Making writable
do shell script "/bin/chmod -R 755 " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
on error
--Log Action
set logMe to "Error: Creating Remote Desktop Folder"
logToFile_(me)
-- Set to false to display
set my userNotifyErrorHidden to false
-- Set Error message
set my userNotifyError to "Error: Creating Remote Desktop Folder"
-- Notify of errors or success
userNotify_(me)
end try
-- Delete swap files from the NetBoot.dmg
removeSwapFiles_(me)
end createRemoteDesktopFolder

-- Delete swap files from the NetBoot.dmg
on removeSwapFiles_(sender)
-- Update Build Process Window's Text Field
Expand Down
10 changes: 4 additions & 6 deletions AutoCasperNBI/MainMenu.xib
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7706" systemVersion="14F1021" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9060" systemVersion="14F1505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7706"/>
<development version="6300" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9060"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
Expand All @@ -19,7 +20,7 @@
<value key="minSize" type="size" width="442" height="468"/>
<value key="maxSize" type="size" width="442" height="578"/>
<view key="contentView" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="6" width="442" height="474"/>
<rect key="frame" x="0.0" y="0.0" width="442" height="474"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<box autoresizesSubviews="NO" title="Required" boxType="oldStyle" borderType="line" id="1bi-R9-8V0">
Expand Down Expand Up @@ -434,9 +435,6 @@
</attributedString>
<decimal key="minimum" value="NaN"/>
<decimal key="maximum" value="NaN"/>
<metadata>
<real key="inspectorSampleValue" value="1"/>
</metadata>
</numberFormatter>
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
Expand Down

0 comments on commit 7c26859

Please sign in to comment.