docs : add electron-auto-update docs (#125)

Co-authored-by: 草鞋没号 <308487730@qq.com>
This commit is contained in:
Jimmyand草鞋没号 authored and GitHub committed 2023-03-15 09:24:13 +08:00
1 parent 2fc312870c
commit 48a6b0682e
1 file changed
+9 -9
+9 -9
View File
@@ -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)