Many thanks for the update, just 2 short comments regarding the scripts for shell extension handling: The unregister script has the same content as the register script. The line adding the app package has a problem with enclosing quotes around the command starting with a double quote but closing with a single quote.
-- <https://forum.pspad.com/read.php?6,80006,80011> PSPad freeware editor https://www.pspad.com
