This directory contains files for chrome_pwa_launcher.exe, a Progressive-Web-App launcher needed to enable PWAs to register as file-type handlers on Windows. When run from a PWA‘s directory, chrome_pwa_launcher.exe runs chrome.exe and passes it the PWA’s ID (passed to the launcher by the PWA's file-handler-registration path in the Windows registry) to launch the PWA.
Each PWA has an individual hardlink or copy (if hardlinking fails) of chrome_pwa_launcher.exe in its web-app directory (User Data<profile>\Web Applications<app ID>), which the browser registers with Windows as a file handler for file types the PWA accepts. An individual per-PWA hardlink/copy is required because Windows de-duplicates applications with the same executable path in the Open With menu.
Important features of chrome_pwa_launcher.exe include:
chrome_pwa_launcher.exe assumes that it is run from a web-app data directory (User Data<profile>\Web Applications<app ID>), as it uses the “Last Browser” file in its great-grandparent User Data directory to find the chrome.exe to launch.
NOTE: PWA launchers must be compiled in a non-component build to support file handling. Component-build EXEs will hit a missing-DLL error if run from the web-app directory.