@
teloti <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>
run.sh</string>
<key>CFBundleIconFile</key>
<string>shortcut.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>1.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>
如果 /contents/Resouces/ 下没有任何 .icns 文件的话
<key>CFBundleIconFile</key>
<string>shortcut.icns</string>
这两行就不要了,否则改成相应的 .icns 文件名就好了
我是这么做以在 LaunchPad 里启动的,希望能帮到你 ~