Application icons (app.icns and app.ico)
The application icon is configured differently depending on the platform that is being built.
These file types are containers that can store multiple images at varying sizes to prevent distortion that might result from automatic down. They can be created and edited in an icon editor such as IcoFx. The operating system might distort a larger image if it tries to automatically downscale it, hence the need for varying sizes.
Application configuration (app.yaml or app.json)
| Name | Type | Description | Default |
|---|---|---|---|
| AllowMultipleInstances | boolean | Allow multiple instances of the application to run. | false |
| Alias | dictionary | Global repository alias options. | |
| Analytics | dictionary | Analytics options. | |
| Autofill | boolean | Form auto-complete. | true |
| Catalog | dictionary | Global repository catalog options. | |
| CEF | dictionary | Chromium Embedded Framework options. | |
| CertificateStores | dictionary | Pre-defined certificate stores. | |
| DataStorePublicKey | string | Name of the public key in the keystore to authenticate against. | |
| Edge | dictionary | Edge WebView2 options. | |
| KeyStores | dictionary | Pre-defined base64-encoded keys to use for authentication. | |
| KillOtherInstances | boolean | Kills other instances of the application that may be open. | false |
| IE | dictionary | Internet Explorer options. | |
| LocalStorage | string | Path where local files such as settings and metafiles can be stored. | |
| LogExpirationDays | integer | Number of days after which to expire/delete logs. The flag DEBUG_FLAG_PERDAY must be enabled. | 7 |
| Macros | dictionary | Additional macros that can be expanded using expandString. | |
| Metafile | dictionary | Global repository metafile options. | |
| Name | string | Name of the application. | |
| RegistryWhitelist | dictionary | List of ReadOnly/ReadWrite items allowed for registry access. | |
| RequiresElevated | boolean | Application requires an elevated account to run. | false |
| RequiresDataStore | boolean | Application requires a datastore to run. | false |
| RequiresPhysicalMedia | boolean | Application requires to be run from a physical/non-virtual media. | false |
| SelfUpdateWorkflow | string | Location of the self-update workflow. | selfupdate.yaml |
| SingleInstanceTimeout | integer | Time in seconds to wait for identical instance(s) to exit. If other instance(s) have not exited in the given timeframe, a single instance error system dialog will be displayed before the process exits. | 1 |
| StartupWindowConfig | string | Url to the startup window configuration. | main.yaml |
| Storage | dictionary | Global repository storage config options. | |
| ThumbprintStores | dictionary | Groups of base64 encoded thumbprints used by the certificate store. | |
| TLS1 | dictionary | TLS1 options. | |
| WebGet | dictionary | WebGet options. | |
| WebGetPool | dictionary | WebGet pool options. | |
| WebServer | dictionary | Internal web server options. | |
| Workflow | dictionary | Workflow options. |
Alias
| Name | Type | Description | Default |
|---|---|---|---|
| LimitSize | integer | Maximum size of an alias file to load. | 0 (unlimited) |
| Url | string | URL of the alias. | |
| WebGetCacheMinAge | integer | Minimum http cache age (seconds) (0 to disable cache). | 10 |
| WebGetCacheMaxSize | integer | Maximum http cache size. | 32 * 1024 * 1024 |
Analytics
| Name | Type | Description | Default |
|---|---|---|---|
| CrashDump | boolean | Enable sending crash dumps in analytics. | true |
| Enabled | boolean | Enable sending analytics events. | true |
| EndPoint | string | End point URL. | https://<analytics-endpoint>/track/ |
| ExcludeEvents | string/array | List of event name wildcard strings to exclude when sending events. | |
| IncludeEvents | string/array | List of event name wildcard strings to include when sending events. By default, all events are included. Included list is processed before excluded list. | * |
| Key | string | Key. | |
| MaxEvents | integer | Maximum number of events stored in memory. | 1000 |
| MaxSendEvents | integer | Maximum number of events to queue before sending to service. | 100 |
| SendInterval | integer | Send events every number of seconds. | 300 |
| SendWebGetXCache | boolean | Send WebGet XCache statistics. | true |
Catalog
| Name | Type | Description | Default |
|---|---|---|---|
| LimitSize | integer | Maximum size of a catalog to load | 0 (unlimited) |
| Url | string | URL of the catalog. | |
| WebGetCacheMinAge | integer | Minimum http cache age (seconds) (0 to disable cache). | 10 |
| WebGetCacheMaxSize | integer | Maximum http cache size. | 32 * 1024 * 1024 |
CEF
| Name | Type | Description | Default |
|---|---|---|---|
| Enabled | boolean | Loads CEF if it exists in the same directory as the host. | false |
| CachePath | string | Location where cache data will be stored on disk. If empty then browsers will be created in incognito mode where in-memory caches are used for storage and no data is persisted to disk. | |
| ContentDomain | string | Skin content main domain for WEB requests. The content URL root is initialized with https://<randomSid>.<contentDomain>/ on app start. | skin |
| CrossOriginWhitelist | string/list | List of hostnames to add to CEF cross origin whitelist. | |
| ExternalUrls | string/list | - example.com/eula - www.example.com/*/privacy | |
| ModelessPopups | boolean | Opens popups as modeless dialog windows that are always above the main window, but does not prevent input focus from switching between windows. | true |
| NativeFallback | boolean | Loads the native web browser if CEF fails to load. | false |
| OffscreenRender | boolean | Enable off-screen/windowless rendering. Note: This option is meant to be used in debugging environments on VMs or remote desktop sessions. Do not use it in production. By default, CEF uses native window rendering mode, creates and attaches its native window as a child of a skin window that enables GPU rendering (recommended). | false |
| PersistSessionCookies | boolean | Persists cookies across multiple sessions. Must be used in conjunction with CachePath. Note: The Host JS platform credential functions can be used to store authentication information in the OS credential manager. | false |
| PopupBlocking | boolean | Enables or disables popup blocking feature. | false |
| PreserveElevation | boolean | Enables or disables CEF automatic de-elevation security feature. | false |
| ResponseHeaders | list | responseHeaders: - url: https://<your-auth0-domain>/* rules: - header: Content-Security-Policy pattern: ^frame-ancestors .* # pcre2 regex matcher replacement: "" # pcre2 substitute - url: https://<your-auth0-domain>/* rules: - header: X-Frame-Options pattern: SAMEORIGIN|DENY replacement: "" - header: Access-Control-Allow-Origin pattern: .* # also matches a missing header in a server response replacement: * # replaces the header value with * or adds the header # Access-Control-Allow-Origin: * | |
| UserAgent | string | User agent string used for CEF browser requests only. |
ResponseHeaders
Used for modifying HTTP response headers. Useful for bypassing access controls of content security policies when the random skin content origin does not match WEB response origins.| Name | Type | Description |
|---|---|---|
| Url | string | PCRE2 regex to match response URL |
| Rules | list | Name Type Description Header string HTTP header name. Pattern string PCRE2 regex to match a header value. .* matches all values including empty values and missing HTTP headers. Replacment string HTTP header value to assign. |
| Name | Type | Description |
| Header | string | HTTP header name. |
| Pattern | string | PCRE2 regex to match a header value. .* matches all values including empty values and missing HTTP headers. |
| Replacment | string | HTTP header value to assign. |
CertificateStores
List of key/value pairs in dictionary format to overwrite predefined stores and create custom stores| Key | Value |
|---|---|
| Name of certificate store | List of valid ThumbprintStore names in an array format (for example [ “interop”, platform” ]) |
Reserved stores
Defined by the application and are immutable| Name | Description |
|---|---|
| platform | System certificate store |
| null | Empty certificate store |
Predefined stores
Used by the application and can be overwritten by changing the configuration| Name | Description |
|---|---|
| app | Default app library certificate store |
| interop | Default interop library certificate store |
| webget | Default https request certificate store |
Edge
| Name | Type | Description | Default |
|---|---|---|---|
| CachePath | string | Location where cache data will be stored on disk. If empty then browsers will be created in incognito mode where in-memory caches are used for storage and no data is persisted to disk. | |
| ContentDomain | string | Skin content main domain for WEB requests. The content URL root is initialized with https://<randomSid>.<contentDomain>/ on app start. | skin |
| Enabled | boolean | Use Edge WebView2 instead of IE if it is available on the system. | true |
IE
| Name | Type | Description | Default |
|---|---|---|---|
| Debug | boolean | Show critical error and security alert dialog boxes. | false |
| Enabled | boolean | Whether or not to allow Trident support, or only allow Edge WebView2. | true |
| MinVersion | integer | Minimum major version of IE to support. | 9 |
KeyStores
List of key/value pairs in dictionary format containing a list of keys| Key | Value |
|---|---|
| Name of key | Base64 encoded value of the key. |
Metafile
| Name | Type | Description | Default |
|---|---|---|---|
| LimitSize | integer | Maximum size of a metafile to load. | 0 (unlimited) |
| WebGetCacheMinAge | integer | Minimum http cache age (seconds) (0 to disable cache). | 10 |
| WebGetCacheMaxSize | integer | Maximum http cache size. | 32 * 1024 * 1024 |
OAuth
Specifies the handler for OAuth server redirects after the authorization finished.| Name | Type | Description |
|---|---|---|
| RedirectUrl | string | webServer: listenPort: 4545 externalPaths: - oauth/* oauth: redirectUrl: /oauth |
| SuccessUrl | string | URL of the content that is displayed in the user’s browser if the authorization code is successfully received by the application. Must match one of WebServer.ExternalPaths to be accessible by the user’s browser. |
| ErrorUrl | string | URL of the content that is displayed in the user’s browser if there is no authorization code in the OAuth server response. Must match one of WebServer.ExternalPaths to be accessible by the user’s browser. |
RegistryWhitelist
| Name | Type | Description |
|---|---|---|
| ReadOnly | array | Valid registry paths for reading. |
| ReadWrite | array | Valid registry paths for reading and writing. |
Storage
| Name | Type | Description | Default |
|---|---|---|---|
| DeltaCacheSize | integer | Cached read buffer (in bytes) used during delta operations. Stops delta operations from having to re-read recently read bytes. | 32 * 1024 * 1024 |
| DeltaFormat | string | File name format for solidpiece delta files (uses string expander with added variables) SourceInfoHash: Metafile id for the local metafile TargetInfoHash: Metafile id for the remote metafile TargetDigest: Hex formatted piece digest TargetIndex: Piece index | delta/{targetInfoHash}/{sourceInfoHash}/{targetDigest}.soliddelta |
| FileCompletes | integer | Maximum number of concurrent file completes. | 10 |
| LockDirectory | string | Directory used to rename files when they are locked by the host application during self-update. Setting to an empty string will disable this feature. For Windows: The directory is required to be on the same partition as the executable. | {moduleDirectory}_lock{pathSlash} |
| PieceFormat | string | File name format for solidpiece files (uses string expander with added variables) TargetInfoHash: Metafile id for the remote metafile TargetDigest: Hex formatted piece digest TargetIndex: Piece index | pieces/{subString:0,2,{targetDigest}}/{targetDigest}.solidpiece |
| PartialExtension | string | File extension used for partial files. | .solidpartial |
| Requests | integer | Number of parallel requests used for erasing/uninstalling content. | 8 |
| SelfUpdate | boolean | Repository self-update default value. | false |
| SkipAttributes | boolean | Skip file attribute updating when available. | false |
| SkipTimestamp | boolean | Skip setting file timestamp information when available. | false |
ThumbprintStores
| Key | Value |
|---|---|
| Friendly name | Array of Base64 encoded certificate thumbprint (Supports SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 thumbprints) |
TLS1
| Name | Type | Description | Default |
|---|---|---|---|
| VersionMin | string | Minimum version of TLS specification. Supported version: 1.0, 1.1, 1.2 | 1.0 |
WebGet
| Name | Type | Description | Default |
|---|---|---|---|
| Macros | dictionary | Additional macros that can be included in urls. | |
| Redirect | dictionary | URL redirection entries. | |
| UserAgent | string | User agent string used for all download requests. | User-Agent of the embedded browser. Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 in CEF 85.0.4183.121. |
Redirect store
| Key | Value |
|---|---|
| Friendly name for redirect | Redirect item |
Redirect item
| Name | Type | Description | Default |
|---|---|---|---|
| Pattern | string | Regular expression pattern. | |
| Replacement | string | Regular expression replacement string. | |
| Mutable | boolean | Allows redirect to be overwritten or removed. | false |
| Flags | string | Flags used to separate resource redirection from normal url redirection. Supported Values: “resource” - resource only redirect | |
| CompileOptions | string | Regular expression compilation items (delimited by comma). Supported Values: allowEmptyClass - allow empty class altBSUX - alternative handling of \u, \U, and \x altCircumflex - alternative handling of ^ in multiline mode altVerbNames - process backslashes in verb names anchored - force pattern anchoring caseless - case insensitive matching dollarEndOnly - $ not to match newline at end dotAll - . matches anything including NL dupNames - Allow duplicate names for subpatterns endAnchored - Pattern can match only at end of subject extended - Ignore white space and # comments firstLine - Force matching to be before newline literal - Pattern characters are all literal matchUnsetBackRef - Match unset back references multiLine - ^ and $ match newlines within data neverBackslashC - Lock out the use of \C in patterns noAutoCapture - Disable numbered capturing parentheses (named ones available) noAutoPossess - Disable auto-possessification noDotStarAnchor - Disable automatic anchoring for .* noStartOptimize - disable match-time start optimizations ungreedy - invert greediness of quantifiers | |
| SubstituteOptions | string | Regular expression substitute options (delimited by comma). Supported Values: anchored - force pattern anchoring dupNames - allow duplicate names for subpatterns endAnchored - pattern can match only at end of subject notBol - subject is not the beginning of a line notEol - subject is not the end of a line notEmpty - an empty string is not a valid match notEmptyAtStart - an empty string at the start of the subject is not a valid match extended - do extended replacement processing global - replace all occurrences in the subject literal - the replacement string is literal replacementOnly - return only replacement string(s) unknownUnset - treat unknown group as unset unsetEmpty - simple unset insert = empty string |
WebGetPool
| Name | Type | Description | Default |
|---|---|---|---|
| MaxHosts | integer | Maximum number of hosts to connect to at one time. The term host refers to a single host:port combination. | 5 |
| MaxHostConnections | integer | Maximum number of connections allow to each hosts at one time. | 6 |
WebServer
| Name | Type | Description | Default |
|---|---|---|---|
| ListenPort | integer/array | Acceptable list of ports for the skin web server to listen on. The web server will attempt to bind to each port in the list and use the first port the user’s machine has available. If port 0 is specified, it will bind on a random port specified by the operating system. | 0 |
| ExternalPaths | string list | List of wildcard paths to allow external browser processes to access. The root path ”/” is rejected. | By default the internal web server is not accessible by other processes. |
| OAuth | dictionary | Contains the settings for the receiver of OAuth authorization code. |
Workflow
| Name | Type | Description | Default |
|---|---|---|---|
| WebGetCacheMinAge | integer | Minimum http cache age (seconds) | 10 |
| WebGetCacheMaxSize | integer | Maximum http cache size. | 32 * 1024 * 1024 |
Example
macros:
skinVersion: 5
thumbprintStores:
extended:
digicert-assuredid-2013: BWO4Yw1i11q7yKseS9+1qJmyTUM=
cdn.example.com: teOGxFJgJJdpfxwD/soVGBQ6YX4=
ssn: teOGxFJgJJdpfxwD/soVGBQ6YX4=
example: iP8N+8Z4KJNZ8+5nm8J7efYruuU=
ssntesting256mac: "+zHAcP1dSgIIn9Zdm3bPz2iIcyM="
certificateStores:
extended:
- platform
- extended
registryWhitelist:
readOnly:
- user\Software\Solid State Networks\
readWrite:
- user\Software\Solid State Networks\Games\
name: Solid State Networks Host
cacheSkin: true
requiresElevated: false
localStorage: "{moduleDirectory}"
startupWindowConfig: mainwindow.json
cef:
enabled: true
responseHeaders:
- url: https://<your-auth0-domain>/*
rules:
- header: Content-Security-Policy
pattern: ^frame-ancestors .* # pcre2 regex matcher
replacement: "" # pcre2 substitute
- url: https://<your-auth0-domain>/*
rules:
- header: X-Frame-Options
pattern: SAMEORIGIN|DENY
replacement: ""
webget:
macros:
myHostName: example.com
redirect:
appendExample:
pattern: "^(https:\\/\\/myurl\\.com.*)"
replacement: "${1}?test=111"
replaceExample:
pattern: "^(https:\\/\\/myurl\\.com\\/x\\.txt.*)"
replacement: https://mybetterurl.com/x.txt
updateInterval: 60
Window configuration (main.yaml or main.json)
| Name | Type | Description | Default |
|---|---|---|---|
| AspectRatio | integer/dictionary | Aspect ratio constraints for window. If using a specific aspect ratio, ensure that any of the minWidth, minHeight, maxWidth, maxHeight options are in same aspect ratio. | |
| AWK | dictionary | Apple Webkit options. | |
| CEF | dictionary | Chromium Embedded Framework options. | |
| IE | dictionary | Internet Explorer options. | |
| LoadTimeout | integer | Time in seconds to wait for window to load. | 30 |
| Mac | dictionary | macOS options. | |
| MaxWidth | integer | Maximum window width which gets automatically adjusted for DPI. | |
| MaxHeight | integer | Maximum window height which gets automatically adjusted for DPI. | |
| MinWidth | integer | Minimum window width which gets automatically adjusted for DPI. | 600 |
| MinHeight | integer | Minimum window height which gets automatically adjusted for DPI. | 400 |
| MinimizeToNotificationArea | boolean | Minimize application to notification area | false |
| PopupFrame | string | Type of popup window to create: Resizable Normal | Normal |
| SpriteSheet | string | Skin file path to the spritesheet image file (used for taskbar overlay, notification icon changing, regular icon changing). | |
| Title | string | Window title. | |
| Url | string | Url to the main html page. | |
| UseNotificationArea | boolean | Display icon in notification area. | false |
| WindowFrame | string (obsolete) | Type of window to create: Borderless Popup Resizable Normal | Normal |
| dictionary (since 7.1) | Window frame style |
AspectRatio
| Name | Type | Description | Default |
|---|---|---|---|
| Width | integer | Width ratio (for example 16). | |
| Height | integer | Height ratio. (for example 9) |
AWK
| Name | Type | Description | Default |
|---|---|---|---|
| Java | boolean | Allow Java to run. | false |
CEF
| Name | Type | Description | Default |
|---|---|---|---|
| Databases | boolean | Enable databases. | false |
| LocalStorage | boolean | Enable local storage. | false |
| Java | boolean | Allow Java to run. | false |
| WebGL | boolean | Enable WebGL extensions. | false |
| WebSecurity | boolean | Enable web security restrictions (same-origin policy). Setting removed in CEF4515. | true |
IE
| Name | Type | Description | Default |
|---|---|---|---|
| Debug | boolean | Dialog boxes and messages can be displayed. Critical errors and security alerts are not suppressed. | false |
Mac
| Name | Type | Description |
|---|---|---|
| MinimizeAsAppIcon | boolean | Show app icon in minimize tray instead of window. |
WebKitGTK
| Name | Type | Description | Default |
|---|---|---|---|
| Databases | boolean | Enable databases. | false |
| LocalStorage | boolean | Enable local storage. | false |
| Java | boolean | Allow Java to run. | false |
| PageCache | boolean | Enable page cache. | false |
| WebGL | boolean | Enable WebGL extensions. | false |
WindowFrame
| Name | Type | Description | Default |
|---|---|---|---|
| Style | string | Window Frame Style: Borderless Normal Popup Popup usually does not have a title bar | Normal |
| Resizable | boolean | Window resizable | false |
Alpha-transparency
Windows with irregular shapes and alpha-transparency are only supported using CEF. Native browsers (IE, AWK, and WebKitGTK+) must use rectangular windows with no alpha-transparency. In order to use alpha-transparency with CEF:- Set
cef.offscreenRender: truein your application configuration. - Set
windowFrame: Borderlessin your main window configuration. - Use an alpha-transparent image for your CSS
backgroundproperty.
Tasks
These tasks are specific to the host and are not available in the workflow library standalone.skinFileExtract
Extracts a file from the skin. Arguments:| Name | Type | Description |
|---|---|---|
| path | string | Path to the file in the skin to extract. |
| outputPath | string | Path on the system to save the file to. |
| Name | Description |
|---|---|
| Platform_Error_InvalidAccess | File access error. |
extractUtility:
type: skinFileExtract
path: bin/util.exe
outputPath: "{temp}util.exe"

