(win: BrowserWindow, pathname: string, type: WatchType)
| 93 | } |
| 94 | |
| 95 | const unlink = (win: BrowserWindow, pathname: string, type: WatchType): void => { |
| 96 | const file = { pathname } |
| 97 | win.webContents.send(EVENT_NAME[type], { |
| 98 | type: 'unlink', |
| 99 | change: file |
| 100 | }) |
| 101 | } |
| 102 | |
| 103 | const change = async( |
| 104 | win: BrowserWindow, |