feat: Automatic plaintext backup option in Preferences > Backups will backup your notes and tags into plaintext, unencrypted folders on your computer. In addition, automatic encrypted text backups preference management has moved from the top-level menu in the desktop app to Preferences > Backups. (#2322)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { IpcRendererEvent } from 'electron/renderer'
|
||||
|
||||
export type MainEventHandler = (event: IpcRendererEvent, value: unknown) => void
|
||||
|
||||
export interface ElectronMainEvents {
|
||||
setUpdateAvailableHandler(handler: MainEventHandler): void
|
||||
setWindowBlurredHandler(handler: MainEventHandler): void
|
||||
setWindowFocusedHandler(handler: MainEventHandler): void
|
||||
setInstallComponentCompleteHandler(handler: MainEventHandler): void
|
||||
setWatchedDirectoriesChangeHandler(handler: MainEventHandler): void
|
||||
}
|
||||
@@ -1,10 +1,9 @@
|
||||
export enum MessageToWebApp {
|
||||
UpdateAvailable = 'update-available',
|
||||
PerformAutomatedBackup = 'download-backup',
|
||||
FinishedSavingBackup = 'finished-saving-backup',
|
||||
WindowBlurred = 'window-blurred',
|
||||
WindowFocused = 'window-focused',
|
||||
InstallComponentComplete = 'install-component-complete',
|
||||
WatchedDirectoriesChanges = 'watched-directories-changes',
|
||||
}
|
||||
|
||||
export enum MessageToMainProcess {
|
||||
|
||||
Reference in New Issue
Block a user