Fixed #93 Support password parameter when loads a PEM certificate from a local file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
@@ -46,6 +46,7 @@ type SectionAndroid struct {
|
||||
type SectionIos struct {
|
||||
Enabled bool `yaml:"enabled"`
|
||||
PemPath string `yaml:"pem_path"`
|
||||
Password string `yaml:"password"`
|
||||
Production bool `yaml:"production"`
|
||||
}
|
||||
|
||||
@@ -106,6 +107,7 @@ func BuildDefaultPushConf() ConfYaml {
|
||||
// iOS
|
||||
conf.Ios.Enabled = false
|
||||
conf.Ios.PemPath = "key.pem"
|
||||
conf.Ios.Password = ""
|
||||
conf.Ios.Production = false
|
||||
|
||||
// log
|
||||
|
||||
@@ -21,6 +21,7 @@ android:
|
||||
ios:
|
||||
enabled: false
|
||||
pem_path: "key.pem"
|
||||
password: ""
|
||||
production: false
|
||||
|
||||
log:
|
||||
|
||||
Reference in New Issue
Block a user