rename pem_path to key_path.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-06-12 19:09:41 +08:00
parent 377fca0bae
commit 6be5e24833
6 changed files with 21 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ type SectionAndroid struct {
// SectionIos is sub seciont of config.
type SectionIos struct {
Enabled bool `yaml:"enabled"`
PemPath string `yaml:"pem_path"`
KeyPath string `yaml:"key_path"`
Password string `yaml:"password"`
Production bool `yaml:"production"`
}
@@ -106,7 +106,7 @@ func BuildDefaultPushConf() ConfYaml {
// iOS
conf.Ios.Enabled = false
conf.Ios.PemPath = "key.pem"
conf.Ios.KeyPath = "key.pem"
conf.Ios.Password = ""
conf.Ios.Production = false

View File

@@ -20,7 +20,7 @@ android:
ios:
enabled: false
pem_path: "key.pem"
key_path: "key.pem"
password: ""
production: false