fix: linting

This commit is contained in:
loviuz 2025-04-30 21:06:03 +02:00 committed by Johannes Millan
parent 24fc89ec6b
commit 849d6fbe5c
2 changed files with 13 additions and 2 deletions

View file

@ -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 {

View file

@ -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';