Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

James Dawson

macrumors newbie
Original poster
Mar 2, 2020
3
0
hi i am hoping u can assist me please i am looking for a script for mac os yosemite all the way to catalina for the usb logo similar to what you did here please

#!/bin/sh
#!/bin/bash
# simple Bash Menu Script by jackluke

printf '\e[0;96m;%s\a' "$color"

printf "$'\e[40m' Catalina Volume icon by jackluke"

printf "\n\n\n"

clear && printf '\e[3J'

clear
echo "\n\n This funny script for Catalina totally safe and harmless \n\n enables the Catalina island icon\n\n on apple startup boot manager (hold alt-option key after power-on) \n\n\n Setting nvram parameter to enforce compatibility check"
echo "\n Please type password when required\n"
sudo nvram boot-args="-no_compat_check"
echo "Done"
echo "\n\n Copying the icon file to your Catalina"
echo "\n Please re-type password if required\n"
sudo mount -uw /
sudo cp -a ~/*/Catalinaicon/Catalinaicon.icns /.VolumeIcon.icns
echo "Done"
echo "\n\n Now you can reboot the system, and hold alt-option key\n to see the Catalina icon \n"
read -p " Press any key to close"


cheers in advance
 
I think what you'd need to do is modify this line:

sudo cp -a ~/*/Catalinaicon/Catalinaicon.icns /.VolumeIcon.icns

and replace the paths with a location with the icons you want to use.
so say you put the icon in ~/Mojaveicon/Mojaveicon.icns, your line would read:

sudo cp -a ~/Mojaveicon/Mojaveicon.icns /.VolumeIcon.icns

I don't know what the * is for so I dropped it.
 
I think what you'd need to do is modify this line:

sudo cp -a ~/*/Catalinaicon/Catalinaicon.icns /.VolumeIcon.icns

and replace the paths with a location with the icons you want to use.
so say you put the icon in ~/Mojaveicon/Mojaveicon.icns, your line would read:

sudo cp -a ~/Mojaveicon/Mojaveicon.icns /.VolumeIcon.icns

I don't know what the * is for so I dropped it.
ill give it a go thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.