Pārlūkot izejas kodu

Fixed Bootcamp Icon script

Thomas Buck 9 gadus atpakaļ
vecāks
revīzija
4c12ba99d5
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      input/blog/2015/2015_07_01_bootcamp_icon_fix.md

+ 2
- 1
input/blog/2015/2015_07_01_bootcamp_icon_fix.md Parādīt failu

@@ -21,12 +21,13 @@ First, set the icon you wish to use like you always would (right-click, Get Info
21 21
 
22 22
     cp /Volumes/TX-55/.VolumeIcon.icns /Users/thomas/Pictures/Icons/VolumeIcon.icns
23 23
 
24
-Next, we need to create a little shell script that copies this file again after it is lost on reboot:
24
+Next, we need to create a little shell script that copies this file again and sets the icon flag after they are lost on reboot:
25 25
 
26 26
     vim /Users/thomas/bin/fixBootcamp.sh
27 27
     
28 28
     #!/bin/sh
29 29
     cp /Users/thomas/Pictures/Icons/VolumeIcon.icns /Volumes/TX-55/.VolumeIcon.icns
30
+    SetFile -a C /Volumes/TX-55
30 31
     
31 32
     :wq
32 33
     chmod a+x /Users/thomas/bin/fixBootcamp.sh

Notiek ielāde…
Atcelt
Saglabāt