Is there any similar solution like here? https://github.com/electron/electron/issues/1344