ソースを参照

Fixed Bootcamp Icon script

Thomas Buck 8年前
コミット
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

読み込み中…
キャンセル
保存