Thanks!
Just one question:
Why did you name the script electron42.sh? It's universal and basically a copy of https://gitlab.archlinux.org/archlinux/packaging/packages/electron42/-/blob/main/electron-launcher.sh
The sed command is adjusting the contents of the file with the correct version. I would keep the name electron-launcher.sh - also because you do not have to adjust it for each major electronXX package.
But up to you ;)
