Interface: ResourceSource
helpers/types.ResourceSource
Represents a single source from which a resource can be downloaded. This includes details about the source URL, the destination path on the local system, the name of the file, its size, and whether it needs to be unzipped after download.
Table of contents
Properties
Properties
destination
• destination: string
The local file system path where the resource should be saved.
Defined in
src/electron/helpers/types.ts:329 (opens in a new tab)
name
• name: string
The name of the resource file.
Defined in
src/electron/helpers/types.ts:330 (opens in a new tab)
size
• size: string
The size of the file, typically in bytes or as a human-readable string.
Defined in
src/electron/helpers/types.ts:331 (opens in a new tab)
unzip
• unzip: boolean
Whether the file should be unzipped after download.
Defined in
src/electron/helpers/types.ts:332 (opens in a new tab)
url
• url: string
The URL from which the resource can be downloaded.