Skip to content

platform/updates/install-type

Defined in: app/src/platform/updates/install-type.ts:6

Facts about the running installation.

readonly env: Readonly<Record<string, string | undefined>>

Defined in: app/src/platform/updates/install-type.ts:13

readonly execPath: string

Defined in: app/src/platform/updates/install-type.ts:10

The browser executable.

readonly packaged: boolean

Defined in: app/src/platform/updates/install-type.ts:8

readonly platform: Platform

Defined in: app/src/platform/updates/install-type.ts:7

readonly resourcesPath: string

Defined in: app/src/platform/updates/install-type.ts:12

The resources folder of the installation.

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.

InstallFacts

The installation facts.

InstallType


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.

InstallType

The installation type.

string | undefined