pull/1382/head
Mikael Finstad 2022-11-23 17:00:00 +08:00
rodzic 76118467f9
commit 84ab53b55d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
6 zmienionych plików z 4 dodań i 7 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
process.traceDeprecation = true;
process.traceProcessWarnings = true;
const electron = require('electron'); // eslint-disable-line
const electron = require('electron');
const isDev = require('electron-is-dev');
const unhandled = require('electron-unhandled');
const i18n = require('i18next');

Wyświetl plik

@ -1,4 +1,4 @@
const electron = require('electron'); // eslint-disable-line
const electron = require('electron');
const i18n = require('i18next');
const { Menu } = electron;

Wyświetl plik

@ -77,7 +77,7 @@ import { getOutSegError as getOutSegErrorRaw } from './util/outputNameTemplate';
import isDev from './isDev';
const electron = window.require('electron'); // eslint-disable-line
const electron = window.require('electron');
const { exists } = window.require('fs-extra');
const filePathToUrl = window.require('file-url');
const { parse: parsePath, join: pathJoin, basename, dirname } = window.require('path');

Wyświetl plik

@ -4,7 +4,6 @@ import i18n from 'i18next';
import { errorToast } from '../util';
import isDev from '../isDev';
const electron = window.require('electron'); // eslint-disable-line
const remote = window.require('@electron/remote');
const configStore = remote.require('./configStore');

Wyświetl plik

@ -3,8 +3,6 @@ import { initReactI18next } from 'react-i18next';
const Backend = window.require('i18next-fs-backend');
const electron = window.require('electron'); // eslint-disable-line
const remote = window.require('@electron/remote');
const { commonI18nOptions, fallbackLng, loadPath, addPath } = remote.require('./i18n-common');

Wyświetl plik

@ -7,7 +7,7 @@ import { Trans } from 'react-i18next';
import CopyClipboardButton from './components/CopyClipboardButton';
import { isStoreBuild, isMasBuild, isWindowsStoreBuild } from './util';
const electron = window.require('electron'); // eslint-disable-line
const electron = window.require('electron');
const os = window.require('os');
const { app } = window.require('@electron/remote');