builder util runtime.Interface.SpacesOptions
Electron-Builder / builder-util-runtime / SpacesOptions
DigitalOcean Spaces 选项。需要访问密钥,定义 DO_KEY_ID
和 DO_SECRET_KEY
环境变量。
继承自¶
属性¶
acl?¶
readonly
optional
acl:null
|"private"
|"public-read"
ACL。设置为 null
以不 添加。
默认值¶
public-read
继承自¶
channel?¶
optional
channel:null
|string
更新频道。
默认值¶
latest
继承自¶
名称¶
readonly
name:string
空间名称。
path?¶
readonly
optional
path:null
|string
目录路径。
默认值¶
/
继承自¶
提供商¶
readonly
provider:"spaces"
提供商。必须为 spaces
。
覆盖¶
publishAutoUpdate?¶
readonly
optional
publishAutoUpdate:boolean
是否发布自动更新信息文件。
自动更新仅依赖列表中的第一个提供商(您可以指定多个发布者)。因此,可能不需要为其他配置的提供商上传元数据文件。但默认情况下将上传。
默认值¶
true
继承自¶
BaseS3Options
.publishAutoUpdate
区域¶
readonly
region:string
区域(例如 nyc3
)。
requestHeaders?¶
readonly
optional
requestHeaders:OutgoingHttpHeaders
任何自定义请求标头
继承自¶
timeout?¶
readonly
optional
timeout:null
|number
请求超时时间,以毫秒为单位。(默认值为 2 分钟;0 将被忽略)
默认值¶
120000