0

windows_pwa_integration.md: minor cleanup

Noticed two small cleanup opportunities while reading this doc.

Change-Id: Ic984937b1d462dc41c8f580807a3cdd40043ba2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2877770
Commit-Queue: Jesse McKenna <jessemckenna@google.com>
Reviewed-by: David Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880079}
This commit is contained in:
Jesse McKenna
2021-05-06 21:35:44 +00:00
committed by Chromium LUCI CQ
parent 41e79b9ec0
commit e6fb29be2f

@@ -39,7 +39,7 @@ We use the hash due to 32-character limit for ProgID's. The registry work is
done in
[ShellUtil::AddFileAssociations](https://source.chromium.org/chromium/chromium/src/+/master:chrome/installer/util/shell_util.cc?q=%20ShellUtil::AddFileAssociations):
* Register the ProgID by adding `key HKCU\Software\Classes\<progID>` to the registry.
* Register the ProgID by adding key `HKCU\Software\Classes\<progID>` to the registry.
* Set the application name and icon for the PWA with these two keys:
* `HKCU\Software\Classes\<progID>\Application::ApplicationIcon = <path to icon in PWA install dir>,0`
* `HKCU\Software\Classes\<progID>\Application::ApplicationName = <PWA name>`
@@ -47,7 +47,7 @@ done in
* `HKCU\Software\Classes\<progID>\shell\open\command = <launcher_app_path_in_profile> --app-id=<app_id> --profile-directory=<profile_dir>`
* Add a key to keep track of the file extensions registered for a progId,
for ease of uninstallation:
* `HKCU\Software\Classes\<progId>\File Extensions = <semicolon delimited list of extensions>`
* `HKCU\Software\Classes\<progID>\File Extensions = <semicolon delimited list of extensions>`
When Chrome is launched, it writes its path into the "Last Browser" file in
the User Data dir.
@@ -75,4 +75,3 @@ application name.
name and icon for a PWA. So, the file open context menu item for a PWA on
Windows 7 gets its name from the launcher app created for the PWA, and uses a
generic PWA icon.