platform/updates/install-type
Interfaces
Section titled “Interfaces”InstallFacts
Section titled “InstallFacts”Defined in: app/src/platform/updates/install-type.ts:6
Facts about the running installation.
Properties
Section titled “Properties”
readonlyenv:Readonly<Record<string,string|undefined>>
Defined in: app/src/platform/updates/install-type.ts:13
execPath
Section titled “execPath”
readonlyexecPath:string
Defined in: app/src/platform/updates/install-type.ts:10
The browser executable.
packaged
Section titled “packaged”
readonlypackaged:boolean
Defined in: app/src/platform/updates/install-type.ts:8
platform
Section titled “platform”
readonlyplatform:Platform
Defined in: app/src/platform/updates/install-type.ts:7
resourcesPath
Section titled “resourcesPath”
readonlyresourcesPath:string
Defined in: app/src/platform/updates/install-type.ts:12
The resources folder of the installation.
Functions
Section titled “Functions”detectInstallType()
Section titled “detectInstallType()”detectInstallType(
facts):InstallType
Defined in: app/src/platform/updates/install-type.ts:22
Tells how the browser was installed. A per-machine Windows installation lives under
Program Files and is managed by IT; electron-builder marks deb and rpm packages with a
package-type file; an AppImage runs with the APPIMAGE variable set.
Parameters
Section titled “Parameters”The installation facts.
Returns
Section titled “Returns”updateFormat()
Section titled “updateFormat()”updateFormat(
type):string|undefined
Defined in: app/src/platform/updates/install-type.ts:46
The package format that electron-updater downloads for an installation type, as used in the keys of a release manifest.
Parameters
Section titled “Parameters”The installation type.
Returns
Section titled “Returns”string | undefined