core: fix electron runtime-import-check
errors
#10291
Merged
runtime-import-check
errors
#10291