首先建一個iso檔
hdiutil makehybrid /source/folder/name/ -o outputfile.iso
打開檔案
hdiutil attach -readwrite outputfile.iso
將需要的檔案丟入光碟裡
在將非mac的檔案隱藏
SetFile -a V /path/to/your/folder/name-of-file-to-hide
設定放入光碟後,預設開起的資料夾
sudo bless -folder "/Volumes/discName" -openfolder "/Volumes/discName"

參考文件
Creating a dual Mac/Win Autorun CD
Creating Cross Platform Windows and Mac Installer CDs
文章標籤
全站熱搜
創作者介紹
創作者 阿勇 的頭像
阿勇

阿勇的blog

阿勇 發表在 痞客邦 留言(0) 人氣(5)