Don't mkdir restore dir in updater

This commit is contained in:
Fedor Indutny 2022-03-04 11:59:47 -08:00 committed by GitHub
parent effe5aae6f
commit df7cdfacc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 96 additions and 21 deletions

View file

@ -3,6 +3,6 @@
import { ipcRenderer } from 'electron';
export function startUpdate(): void {
ipcRenderer.invoke('start-update');
export function startUpdate(): Promise<void> {
return ipcRenderer.invoke('start-update');
}