old_contents: const { ipcRenderer, remote } = require("electron");
  const { app, BrowserWindow }  = require("electron");
  const fs = require("fs");
  
  window.onload = () => {
  
  }
  
new_contents: const { ipcRenderer } = require("electron");
  const remote = require("electron").remote;
  const { app, BrowserWindow }  = require("electron");
  const fs = require("fs");
  
  window.onload = () => {
      var win = remote.getCurrentWindow();
      win.setResizable(true);
  }
  
subject: Allow window to be resized