feat: add desktop repo (#1071)

This commit is contained in:
Mo
2022-06-07 11:52:15 -05:00
committed by GitHub
parent 0bb12db948
commit 0b7ce82aaa
135 changed files with 17821 additions and 180 deletions

View File

@@ -0,0 +1,52 @@
export interface TestIPCMessage {
id: number
type: MessageType
args: any[]
}
export interface TestIPCMessageResult {
id: number
resolve?: any
reject?: any
}
export interface AppTestMessage {
type: AppMessageType
}
export enum AppMessageType {
Ready,
WindowLoaded,
SavedBackup,
Log,
}
export enum MessageType {
WindowCount,
StoreData,
StoreSettingsLocation,
StoreSet,
SetLocalStorageValue,
AppMenuItems,
SpellCheckerManager,
SpellCheckerLanguages,
ClickLanguage,
BackupsAreEnabled,
ToggleBackupsEnabled,
BackupsLocation,
PerformBackup,
ChangeBackupsLocation,
CopyDecryptScript,
MenuReloaded,
UpdateState,
CheckForUpdate,
UpdateManagerNotifiedStateChange,
Relaunch,
DataArchive,
GetJSON,
DownloadFile,
AutoUpdateEnabled,
HasReloadedMenu,
AppStateCall,
SignOut,
}