You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2019. It is now read-only.
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
2480
-
do shell script"unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
2481
-
-- Delete DefaultDesktop.jpg
2482
-
do shell script"/bin/rm -rf ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
2481
+
do shell script"/bin/unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
2482
+
-- Delete DefaultDesktop.jpg
2483
+
do shell script"/bin/rm -rf ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
2494
+
do shell script"/bin/unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultBackground.jpg" user name adminUserName password adminUsersPassword with administrator privileges
2495
+
-- Delete DefaultDesktop.jpg
2496
+
do shell script"/bin/rm -rf ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultBackground.jpg" user name adminUserName password adminUsersPassword with administrator privileges
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
2506
+
do shell script"/bin/unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.heic" user name adminUserName password adminUsersPassword with administrator privileges
2507
+
-- Delete DefaultDesktop.jpg
2508
+
do shell script"/bin/rm -rf ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.heic" user name adminUserName password adminUsersPassword with administrator privileges
setlogMeto"Removing symbolic link on "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3620
-
logToFile_(me)
3621
-
try
3622
-
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
3623
-
do shell script"unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
setlogMeto"Trying to copy "& customDesktopImagePath &" to "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3629
-
logToFile_(me)
3630
-
-- Copy selected image
3631
-
do shell script"/bin/cp -r ""ed formof customDesktopImagePath &"""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
3632
-
--Log Action
3633
-
setlogMeto"Copied "& customDesktopImagePath &" to "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3634
-
logToFile_(me)
3635
-
--Log Action
3636
-
setlogMeto"Trying to set permissions to 755 on ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3637
-
logToFile_(me)
3638
-
-- Making writable
3639
-
do shell script"/bin/chmod -R 755 ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
3640
-
--Log Action
3641
-
setlogMeto"Set permissions to 755 on ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
setmy buildProcessProgressBar to buildProcessProgressBar +1
3646
+
--Log Action
3647
+
setlogMeto"Removing symbolic link on "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3648
+
logToFile_(me)
3649
+
try
3650
+
-- Remove DefaultDesktop.jpg's symbolic link, silently error is doesn't exist
3651
+
do shell script"/bin/unlink ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
3652
+
end try
3653
+
--Log Action
3654
+
setlogMeto"Trying to copy "& customDesktopImagePath &" to "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3655
+
logToFile_(me)
3656
+
-- Copy selected image
3657
+
do shell script"/bin/cp -r ""ed formof customDesktopImagePath &"""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
3658
+
--Log Action
3659
+
setlogMeto"Copied "& customDesktopImagePath &" to "& netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3660
+
logToFile_(me)
3661
+
--Log Action
3662
+
setlogMeto"Trying to set permissions to 755 on ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
3663
+
logToFile_(me)
3664
+
-- Making writable
3665
+
do shell script"/bin/chmod -R 755 ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg" user name adminUserName password adminUsersPassword with administrator privileges
3666
+
--Log Action
3667
+
setlogMeto"Set permissions to 755 on ""ed formof netBootDmgMountPath &"/System/Library/CoreServices/DefaultDesktop.jpg"
setmy buildProcessProgressBar to buildProcessProgressBar +1
3689
+
--Log Action
3690
+
setlogMeto"Trying to copy "& customDesktopImagePath &" to "& netBootDmgMountPath &"/Library/Desktop Pictures/Mojave.heic"
3691
+
logToFile_(me)
3692
+
-- Copy selected image
3693
+
do shell script"/bin/cp -r ""ed formof customDesktopImagePath &"""ed formof netBootDmgMountPath &"/Library/Desktop\\ Pictures/Mojave.heic" user name adminUserName password adminUsersPassword with administrator privileges
3694
+
--Log Action
3695
+
setlogMeto"Copied "& customDesktopImagePath &" to "& netBootDmgMountPath &"/Library/Desktop Pictures/Mojave.heic"
3696
+
logToFile_(me)
3697
+
--Log Action
3698
+
setlogMeto"Trying to set permissions to 755 on ""ed formof netBootDmgMountPath &"/Library/Desktop Pictures/Mojave.heic"
3699
+
logToFile_(me)
3700
+
-- Making writable
3701
+
do shell script"/bin/chmod -R 755 ""ed formof netBootDmgMountPath &"/Library/Desktop\\ Pictures/Mojave.heic" user name adminUserName password adminUsersPassword with administrator privileges
3702
+
--Log Action
3703
+
setlogMeto"Set permissions to 755 on ""ed formof netBootDmgMountPath &"/Library/Desktop Pictures/Mojave.heic"
0 commit comments