app builder lib.Interface.SquirrelWindowsOptions
Electron-Builder / app-builder-lib / SquirrelWindowsOptions
继承自¶
属性¶
artifactName?¶
readonly
optional
artifactName:null
|string
The 构件文件名模板。
继承自¶
TargetSpecificOptions
.artifactName
customSquirrelVendorDir?¶
readonly
optional
customSquirrelVendorDir:string
自定义 squirrel 供应商目录。如果未指定,将使用 electron-installer(https://github.com/electron/windows-installer/tree/main/vendor)附带的 Squirrel.Windows。在 https://github.com/electron-userland/electron-builder-binaries/pull/56 合并后,将添加 electron-builder-binaries 以获取最新版本的 squirrel。
iconUrl?¶
readonly
optional
iconUrl:null
|string
用于应用程序图标的 ICO 文件 URL(显示在“控制面板” > “程序和功能”中)。默认为 Electron 图标。
请注意 — 不接受本地图标文件 URL,必须是 https/http。
如果你不打算构建 Windows 安装程序,则可以省略它。如果你的项目仓库在 GitHub 上是公开的,默认情况下它将是 https://github.com/${u}/${p}/blob/master/build/icon.ico?raw=true
。
loadingGif?¶
readonly
optional
loadingGif:null
|string
安装期间显示的 .gif 文件路径。如果存在,将使用 build/install-spinner.gif
(建议的设置方式)(否则为 默认)。
msi?¶
readonly
optional
msi:boolean
是否创建 MSI 安装程序。默认为 false
(不创建 MSI)。
publish?¶
optional
publish:Publish
继承自¶
remoteReleases?¶
readonly
optional
remoteReleases:null
|string
|boolean
指向你现有更新的 URL。或者 true
以自动设置为你的 GitHub 仓库。如果给定,这些将被下载以创建增量更新。
remoteToken?¶
readonly
optional
remoteToken:null
|string
远程更新的身份验证令牌
useAppIdAsId?¶
readonly
optional
useAppIdAsId:boolean
使用 appId
来标识包而不是 name
。