mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-25 22:37:02 -04:00
Update Windows Update patcher (#404)
This commit is contained in:
parent
a8678db78c
commit
e70abc57b6
4 changed files with 35 additions and 62 deletions
|
@ -22,7 +22,7 @@ import "./updater";
|
|||
import { debounce } from "@utils/debounce";
|
||||
import IpcEvents from "@utils/IpcEvents";
|
||||
import { Queue } from "@utils/Queue";
|
||||
import { BrowserWindow, desktopCapturer, ipcMain, shell } from "electron";
|
||||
import { BrowserWindow, ipcMain, shell } from "electron";
|
||||
import { mkdirSync, readFileSync, watch } from "fs";
|
||||
import { open, readFile, writeFile } from "fs/promises";
|
||||
import { join } from "path";
|
||||
|
@ -45,9 +45,6 @@ export function readSettings() {
|
|||
}
|
||||
}
|
||||
|
||||
// Fix for screensharing in Electron >= 17
|
||||
ipcMain.handle(IpcEvents.GET_DESKTOP_CAPTURE_SOURCES, (_, opts) => desktopCapturer.getSources(opts));
|
||||
|
||||
ipcMain.handle(IpcEvents.OPEN_QUICKCSS, () => shell.openPath(QUICKCSS_PATH));
|
||||
|
||||
ipcMain.handle(IpcEvents.OPEN_EXTERNAL, (_, url) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue