installer能夠辨識的source是怎麼辦到的
基本上他的寫法就類似xml的寫法
只是有幾個基本概念需要填入,我們就以愛秀真自我的plist來作範例
若你要大家只要連到https://iphone4.tw/showme/
那你這個repository.plist,就得rename成index.htm
這樣就可以了
首先,當然先開啟一個文字檔案接著具備下面的內容
---------------------------------------------------
上半段
代碼:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>info</key> <dict> <key>name</key> <string>iPhone4.TW 愛秀真自我</string> <key>maintainer</key> <string>iPhone4.TW 管理團隊</string> <key>contact</key> <string>service@iphone4.tw</string> <key>url</key> <string>http://iphone4.tw/</string> <key>description</key> <string>iPhone FOR Taiwan 愛秀真自我</string> <key>category</key> <string>iPhone4.TW 在地化服務1.1.1</string> </dict> <key>packages</key> <array>
接著在放後半段
代碼:
</array> </dict> </plist>
這不用多做解釋吧,因為就照個改就好了