Overview
Runtime Arguments are used to Activate/Deactivate specific features or change the default behavior of the OpenFin runtime.
Supported Arguments are (Please note this is not an exclusive list):
Using shortcut target
Runtime Arguments added to an application shortcut by:
- right-clicking a shortcut
- Opening the properties page
- Update the target to include: --runtime-arguments=" --<argument>"
This method enables arguments to be applied to individual applications on a desktop. Please note if the application allows OpenFin to manage the shortcuts the additional parameter will need to be added before each application launch.
Using the system registry (Windows)
Runtime Arguments can be applied at a system level using the system registry. Any runtime argument configured in the system registry will be applied to all OpenFin applications launched after the argument has been applied.
- Open the Windows Registry Editor by running 'regedit':
- From the window search bar, type 'regedit'
- Select 'Registry Editor' from the search results
- Allow the registry editor to make changes to the local system by clicking 'Yes'
- Accept the prompt to allow RegEdit to make changes to your device
- Navigate to HKEY_CURRENT_USER\Software\OpenFin\RVM (Create any missing keys, see below)
- For example: if 'openfin' is not listed under 'Software':
- Right-click on 'Software'
- Select 'New' -> 'Key'
- Type the name of the new key (Example 'openfin')
- Repeat these steps for other missing keys (Example 'openfin')
- Right Click on the 'RVM' key
- Select 'New' -> 'Sting Value'
- Name the new entry 'runtimeArgs' (Case sensitive)
- Right Click on the 'runtimeArgs' entry -> 'Modify'
- In the 'Value Data' box, add the desired argument
- Click OK
Using to the Application Configuration
Runtime Arguments can be applied to all users of an application by configuring the argument in the Application Configuration file, for example:
"runtime": {
"version": "x.x.x.x",
"arguments" : "--<argument>"
},
Comments
0 comments
Please sign in to leave a comment.