From b5f9e87c031a3546a717f9eb3753bc2e733ec512 Mon Sep 17 00:00:00 2001 From: Geoffrey Wein Date: Mon, 29 Jan 2024 10:11:32 -0700 Subject: [PATCH 1/2] update description and troubleshooting --- .../Mac Commands/Mac - Set Desktop Background.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PowerShell/JumpCloud Commands Gallery/Mac Commands/Mac - Set Desktop Background.md b/PowerShell/JumpCloud Commands Gallery/Mac Commands/Mac - Set Desktop Background.md index 6d86b30ba..67a7beea6 100644 --- a/PowerShell/JumpCloud Commands Gallery/Mac Commands/Mac - Set Desktop Background.md +++ b/PowerShell/JumpCloud Commands Gallery/Mac Commands/Mac - Set Desktop Background.md @@ -39,6 +39,8 @@ EOF #### Description +NOTE: As of MacOS 12.3 or higher, this command does not work. Please use an MDM configuration profile to deploy wallpapers as a workaround. + The "JumpCloud_Background.png" file is downloaded to the local machine and saved in the folder "/Users/Shared"/ To modify this command to download and set a background image of your choice follow the steps under '*** Customize ***' by updating the backgroundURL and corresponding fileType variables. @@ -57,5 +59,7 @@ Import-JCCommand -URL "https://github.com/TheJumpCloud/support/blob/master/Power #### **Troubleshooting Tips** +NOTE: As of MacOS 12.3 or higher, this command does not work. Please use an MDM configuration profile to deploy wallpapers as a workaround. + Check to see if the file is downloading on the machine by navigating to /Users/Shared folder. If the image file is not downloading to the machine it is likely that the 'fileType' has not been updated to match the file (png/jpg) From aa74ff6372738174c4b4990fcab356c05cbbba3d Mon Sep 17 00:00:00 2001 From: Geoffrey Wein Date: Mon, 29 Jan 2024 13:08:04 -0700 Subject: [PATCH 2/2] Update commands.json --- PowerShell/JumpCloud Commands Gallery/commands.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerShell/JumpCloud Commands Gallery/commands.json b/PowerShell/JumpCloud Commands Gallery/commands.json index f0f4807c3..66b318d47 100644 --- a/PowerShell/JumpCloud Commands Gallery/commands.json +++ b/PowerShell/JumpCloud Commands Gallery/commands.json @@ -228,7 +228,7 @@ "type": "mac", "command": "## *** Customize ***\n # 1. Update the 'backgroundURL' to the URL of your desired desktop image. A JumpCloud image is used by default.\n backgroundURL=\"https://raw.githubusercontent.com/TheJumpCloud/support/master/PowerShell/JumpCloud%20Commands%20Gallery/Files/JumpCloud_Background.png\"\n # 2. Ensure the 'fileType' matches the file type of the desktop image (change to jpg if using a jpg). 'png' is set by default.\n fileType=\"png\"\n # ------------Do not modify below this line-------------\n date_val=$(date \"+%Y-%m-%d-%H%M\")\n backgroundFile=/Users/Shared/desktopimage_$date_val.$fileType\n curl -s -o \"$backgroundFile\" \"$backgroundURL\"\nread -r -d '' PSCRIPT<