Unverified Commit b0405c44 authored by Thibaut Sardan's avatar Thibaut Sardan Committed by GitHub
Browse files

revert

parent 31490a0c
Pipeline #149650 failed with stage
...@@ -9,9 +9,20 @@ import settings from 'electron-settings'; ...@@ -9,9 +9,20 @@ import settings from 'electron-settings';
import { IS_PROD } from '../../constants'; import { IS_PROD } from '../../constants';
import i18n from '../i18n'; import i18n from '../i18n';
// https://www.npmjs.com/package/auto-launch
import AutoLaunch from 'auto-launch';
import Pino from '../../utils/pino';
// Only use 'auto-launch' library on Linux since Electron API's
// `setLoginItemSettings` is only supported on macOS and Windows
// https://electronjs.org/docs/api/app#appsetloginitemsettingssettings-macos-windows
const fetherAutoLauncher = new AutoLaunch({
name: 'Fether',
path: '/usr/local/bin/fether'
});
const { shell } = electron; const { shell } = electron;
const pino = Pino();
// Preferences menu // Preferences menu
const getPreferences = fetherApp => { const getPreferences = fetherApp => {
return { return {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment