Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(?applicationName, ?applicationVersion, ?copyright, ?version, ?credits, ?authors, ?website, ?iconPath)
Parameters:
string
-
The app's name.
?applicationVersion : string
-
The app's version.
?copyright : string
-
Copyright information.
?version : string
-
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || The app's build version
number.
?credits : string
-
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ || Credit information.
?authors : string[]
-
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || List of app authors.
?website : string
-
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ || The app's website.
?iconPath : string
-
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ || Path to the app's
icon in a JPEG or PNG file format. On Linux, will be shown as 64x64 pixels while retaining aspect ratio.
On Windows, a 48x48 PNG will result in the best visual quality.
Returns: Options
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.applicationName
|
The app's name. |
Full Usage:
this.applicationVersion
|
The app's version. |
Full Usage:
this.authors
|
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ List of app authors. |
Full Usage:
this.copyright
|
Copyright information. |
Full Usage:
this.credits
|
⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Credit information. |
Full Usage:
this.iconPath
|
⚠ OS Compatibility: WIN ✔ | MAC ❌ | LIN ✔ | MAS ❌ Path to the app's icon in a JPEG or PNG file format. On Linux, will be shown as 64x64 pixels while retaining aspect ratio. On Windows, a 48x48 PNG will result in the best visual quality. |
Full Usage:
this.version
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ The app's build version number. |
Full Usage:
this.website
|
⚠ OS Compatibility: WIN ❌ | MAC ❌ | LIN ✔ | MAS ❌ The app's website. |
fable-electron-docs-api