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

Commit 7c26859

Browse files
author
macmule
committed
1.3.3
1 parent b239e28 commit 7c26859

5 files changed

Lines changed: 56 additions & 10 deletions

File tree

AutoCasperNBI.xcodeproj/xcuserdata/btoms.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
startingColumnNumber = "9223372036854775807"
1515
endingColumnNumber = "9223372036854775807"
1616
startingLineNumber = "4362"
17-
endingLineNumber = "4362">
17+
endingLineNumber = "4362"
18+
landmarkName = "on copyBootEfi_(sender)"
19+
landmarkType = "5">
1820
</BreakpointContent>
1921
</BreakpointProxy>
2022
</Breakpoints>

AutoCasperNBI/AutoCasperNBI-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.3.2</string>
20+
<string>1.3.3</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

AutoCasperNBI/AutoCasperNBIAppDelegate.applescript

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,8 +2548,8 @@ script AutoCasperNBIAppDelegate
25482548
--Log Action
25492549
set logMe to "Successfully emptied targeted directories in " & netBootDmgMountPath & "/System/Library/"
25502550
logToFile_(me)
2551-
-- Delete swap files from the NetBoot.dmg
2552-
removeSwapFiles_(me)
2551+
-- Creates the folder path /Library/Application Support/Apple/Remote Desktop/ as this is needed on 10.11.2
2552+
createRemoteDesktopFolder_(me)
25532553
else
25542554
--Log Action
25552555
set logMe to "NetBoot reduction not enabled. Skipping..."
@@ -2570,6 +2570,52 @@ script AutoCasperNBIAppDelegate
25702570
end try
25712571
end reduceNetBootImage_
25722572

2573+
-- Creates the folder path /Library/Application Support/Apple/Remote Desktop/ as this is needed on 10.11.2
2574+
on createRemoteDesktopFolder_(sender)
2575+
-- Update Build Process Window's Text Field
2576+
set my buildProcessTextField to "Creating Remote Desktop Folder"
2577+
delay 0.1
2578+
-- Update build Process ProgressBar
2579+
set my buildProcessProgressBar to buildProcessProgressBar + 1
2580+
-- Set variableVariable
2581+
set variableVariable to netBootDmgMountPath & "/Library/Application Support/Apple/Remote Desktop/"
2582+
--Log Action
2583+
set logMe to "Creating " & variableVariable
2584+
-- Log To file
2585+
logToFile_(me)
2586+
try
2587+
-- Make certficates directory
2588+
do shell script "/bin/mkdir -p " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
2589+
--Log Action
2590+
set logMe to "Trying to set ownership to root:wheel on " & quoted form of variableVariable
2591+
logToFile_(me)
2592+
-- Correct ownership
2593+
do shell script "/usr/sbin/chown -R root:wheel " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
2594+
--Log Action
2595+
set logMe to "Set ownership to root:wheel on " & quoted form of variableVariable
2596+
logToFile_(me)
2597+
-- Update build Process ProgressBar
2598+
set my buildProcessProgressBar to buildProcessProgressBar + 1
2599+
--Log Action
2600+
set logMe to "Trying to set permissions to 755 on " & quoted form of variableVariable
2601+
logToFile_(me)
2602+
-- Making writable
2603+
do shell script "/bin/chmod -R 755 " & quoted form of variableVariable user name adminUserName password adminUsersPassword with administrator privileges
2604+
on error
2605+
--Log Action
2606+
set logMe to "Error: Creating Remote Desktop Folder"
2607+
logToFile_(me)
2608+
-- Set to false to display
2609+
set my userNotifyErrorHidden to false
2610+
-- Set Error message
2611+
set my userNotifyError to "Error: Creating Remote Desktop Folder"
2612+
-- Notify of errors or success
2613+
userNotify_(me)
2614+
end try
2615+
-- Delete swap files from the NetBoot.dmg
2616+
removeSwapFiles_(me)
2617+
end createRemoteDesktopFolder
2618+
25732619
-- Delete swap files from the NetBoot.dmg
25742620
on removeSwapFiles_(sender)
25752621
-- Update Build Process Window's Text Field

AutoCasperNBI/MainMenu.xib

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7706" systemVersion="14F1021" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9060" systemVersion="14F1505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7706"/>
5+
<development version="6300" identifier="xcode"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9060"/>
67
</dependencies>
78
<objects>
89
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
@@ -19,7 +20,7 @@
1920
<value key="minSize" type="size" width="442" height="468"/>
2021
<value key="maxSize" type="size" width="442" height="578"/>
2122
<view key="contentView" id="EiT-Mj-1SZ">
22-
<rect key="frame" x="0.0" y="6" width="442" height="474"/>
23+
<rect key="frame" x="0.0" y="0.0" width="442" height="474"/>
2324
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2425
<subviews>
2526
<box autoresizesSubviews="NO" title="Required" boxType="oldStyle" borderType="line" id="1bi-R9-8V0">
@@ -434,9 +435,6 @@
434435
</attributedString>
435436
<decimal key="minimum" value="NaN"/>
436437
<decimal key="maximum" value="NaN"/>
437-
<metadata>
438-
<real key="inspectorSampleValue" value="1"/>
439-
</metadata>
440438
</numberFormatter>
441439
<font key="font" metaFont="smallSystem"/>
442440
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>

0 commit comments

Comments
 (0)