diff --git a/src/components/update/README.zh-CN.md b/src/components/update/README.zh-CN.md index b556c0e..f2c65fc 100644 --- a/src/components/update/README.zh-CN.md +++ b/src/components/update/README.zh-CN.md @@ -14,15 +14,15 @@ npm i electron-updater 在`electron-builder.json5`添加`publish`字段,用来配置更新地址和使用哪种策略作为更新服务 -``` json5 -{ - "publish": { - "provider": "generic", // 提供者、提供商 - "channel": "latest", // 生成yml文件的名称 - "url": "https://foo.com/" //更新地址 - } -} -``` + ``` json5 + { + "publish": { + "provider": "generic", // 提供者、提供商 + "channel": "latest", // 生成yml文件的名称 + "url": "https://foo.com/" //更新地址 + } + } + ``` 更多见 : [electron-builder.json5...](xxx)