Преглед на файлове

Fixed Bootcamp Icon script

Thomas Buck преди 9 години
родител
ревизия
4c12ba99d5
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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 Целия файл

@@ -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

Loading…
Отказ
Запис