app builder lib.Interface.PortableOptions
Electron-Builder / app-builder-lib / PortableOptions
便携选项。
继承自¶
属性¶
artifactName?¶
readonly
optional
artifactName:null
|string
继承自¶
TargetSpecificOptions
.artifactName
customNsisBinary?¶
readonly
optional
customNsisBinary:null
|CustomNsisBinary
允许您提供自己的 makensis
,例如支持通过 LogSet 和 LogText 进行调试日志记录的版本。(日志记录还需要选项 debugLogging = true
)
继承自¶
CommonNsisOptions
.customNsisBinary
guid?¶
readonly
optional
guid:null
|string
请参阅GUID 与应用程序名称。
继承自¶
publish?¶
optional
publish:Publish
继承自¶
requestExecutionLevel?¶
readonly
optional
requestExecutionLevel:"user"
|"highest"
|"admin"
Windows 的请求的执行级别。
默认值¶
user
splashImage?¶
readonly
optional
splashImage:null
|string
在可移植可执行文件解压缩时显示的图像。此图像必须是位图 (.bmp
) 图像。
unicode?¶
readonly
optional
unicode:boolean
是否创建 Unicode 安装程序。
默认值¶
true
继承自¶
unpackDirName?¶
readonly
optional
unpackDirName:string
|boolean
可移植应用程序资源的解压缩目录。
如果设置为字符串,则它将是 TEMP 目录中的名称。如果显式设置为 false
,它将使用 Windows 临时目录 ($PLUGINSDIR),该目录对于每次启动可移植应用程序都是唯一的。
默认为构建的 uuid(在每次构建可移植可执行文件时都会更改)。
warningsAsErrors?¶
readonly
optional
warningsAsErrors:boolean
如果 warningsAsErrors
为 true
(默认值):NSIS 会将警告视为错误。如果 warningsAsErrors
为 false
:NSIS 将允许警告。
默认值¶
true