mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix: bug introduced by PR
This commit is contained in:
parent
dadd7f77bd
commit
7e5730405c
1 changed files with 4 additions and 6 deletions
|
|
@ -6,12 +6,10 @@ import { IS_ELECTRON } from '../../../app.constants';
|
|||
|
||||
const backupPath =
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
(IS_ELECTRON &&
|
||||
`${getElectronRemoteModule()!.app.getPath('userData')}` + process.platform ==
|
||||
'linux') ||
|
||||
process.platform === 'darwin'
|
||||
? `/backups`
|
||||
: `\\backups`;
|
||||
IS_ELECTRON &&
|
||||
`${getElectronRemoteModule()!.app.getPath('userData')}${
|
||||
navigator?.userAgent?.search('Windows') ? '\\' : '/'
|
||||
}backups`;
|
||||
|
||||
export const AUTOMATIC_BACKUPS_FORM: ConfigFormSection<LocalBackupConfig> = {
|
||||
title: T.GCF.AUTO_BACKUPS.TITLE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue