project is that the main form created by nw.js is a borderless webview, and the ultimate goal is to make an installation package;
because the main form is borderless, so minimizing and maximizing and closing the window need to be realized in web, web is built through create-react-app;
now the problem is how to call nw.js window-related api in web?