
const utils = {
  fileExists: existsSync,
  getArgv: () => ipcRenderer.invoke("argv") as Promise<string[]>,
  toggleDevTools: () => {
    ipcRenderer.invoke("devtool-toggle");
  },
  startPowerSaveBlocker: () => {
    ipcRenderer.invoke("powersaveblocker-start");
  },
  stopPowerSaveBlocker: () => {
    ipcRenderer.invoke("powersaveblocker-stop");
  },