Work on electron implementation of electron api because it does not work on frontend.