Glue42 Enterprise is now io.Connect Desktop! The new documentation site for all interop.io products is located at docs.interop.io.

Changelog

Glue42 Desktop

Release date: 26.09.2023

Components Version
Electron 26.2.2
Chromium 116.0.5845.190
Node.js 18.16.1

New Features

Handling the Browser window.open()

The "nativeWindowOpen" property, used for handling the browser window.open() method, can now accept an object with the following properties as a value:

Property Type Description
"mode" string Must be set to "window".
"outlivesOpener" boolean If true, will prevent child windows from being closed when their parent is closed.

By default, child windows created with the window.open() method from a Glue42 Window share the lifetime of their parent window. To prevent this behavior, set the "outlivesOpener" property to true:

{
    "windows": {
        "nativeWindowOpen": {
            "mode": "window",
            "outlivesOpener": true
        }
    }
}

Preload Scripts

The "preloadScripts" property, used for defining preload scripts, can now accept also an object with the following properties as a value:

Property Type Description
"scripts" string[] List of preload scripts (URLs) that will be loaded and executed before the actual page is executed.
"useBase64PreloadScripts" boolean If true (default), will import the preload scripts as Base64 strings.

The "useBase64PreloadScripts" property allows you to control how Glue42 Enterprise will import preload scripts. To improve this behavior, it's recommended to set the "useBase64PreloadScripts" property to false:

{
    "windows": {
        "preloadScripts": {
            "scripts": [
                "https://my-domain.com/my-script.js",
                "https://my-domain.com/my-other-script.js"
            ],
            "useBase64PreloadScripts": false
        }
    }
}

Persisting Current Window Titles

You can now persist the current window title of a web app when saving and restoring Layouts - App Default, Global Layouts, or Workspaces. To instruct Glue42 Enterprise to save the current window titles of web apps, use the "saveCurrentTitleInLayout" property of the "windows" top-level key in the system.json system configuration file. The following example demonstrates how to configure Glue42 Enterprise on a system level to save the current window titles of web apps only when they participate in a Workspace or a Global Layout:

{
    "windows": {
        "saveCurrentTitleInLayout": ["Global", "Workspace"]
    }
}

You can also specify this setting on an app level by using the "saveCurrentTitleInLayout" property of the "details" top-level key in the app configuration file for web apps, which will override the global system configuration:

{
    "details": {
        "saveCurrentTitleInLayout": false
    }
}

Improvements and Bug Fixes

  • Upgraded to Electron 26.2.2 (Chromium 116).

  • Improved the time of loading Global Layouts by optimizing jump lists.

  • Improved the loading behavior of preload scripts to guard against possible errors.