mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-22 18:30:09 +00:00
fix: linting
This commit is contained in:
parent
24fc89ec6b
commit
849d6fbe5c
2 changed files with 13 additions and 2 deletions
|
|
@ -14,7 +14,10 @@ import { error, log } from 'electron-log/main';
|
|||
import { AppDataCompleteLegacy } from '../src/app/imex/sync/sync.model';
|
||||
|
||||
export const BACKUP_DIR = path.join(app.getPath('userData'), `backups`);
|
||||
export const BACKUP_DIR_WINSTORE = BACKUP_DIR.replace('Roaming', `Local\\Packages\\53707johannesjo.SuperProductivity_ch45amy23cdv6\\LocalCache\\Roaming`);
|
||||
export const BACKUP_DIR_WINSTORE = BACKUP_DIR.replace(
|
||||
'Roaming',
|
||||
`Local\\Packages\\53707johannesjo.SuperProductivity_ch45amy23cdv6\\LocalCache\\Roaming`,
|
||||
);
|
||||
|
||||
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
|
||||
export function initBackupAdapter(): void {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,14 @@
|
|||
// FRONTEND EVENTS
|
||||
// ---------------
|
||||
import { app, dialog, globalShortcut, ipcMain, IpcMainEvent, shell, process } from 'electron';
|
||||
import {
|
||||
app,
|
||||
dialog,
|
||||
globalShortcut,
|
||||
ipcMain,
|
||||
IpcMainEvent,
|
||||
shell,
|
||||
process,
|
||||
} from 'electron';
|
||||
import { IPC } from './shared-with-frontend/ipc-events.const';
|
||||
import { lockscreen } from './lockscreen';
|
||||
import { errorHandlerWithFrontendInform } from './error-handler-with-frontend-inform';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue