* Replace locale presubmit hook with Github action * nit * Make sure electronAPI is defined on window object * Set correct env var