Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
b0405c44
Unverified
Commit
b0405c44
authored
Apr 27, 2019
by
Thibaut Sardan
Committed by
GitHub
Apr 27, 2019
Browse files
revert
parent
31490a0c
Pipeline
#149650
failed with stage
Changes
1
Pipelines
4
Show whitespace changes
Inline
Side-by-side
packages/fether-electron/src/main/app/menu/template/index.js
View file @
b0405c44
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment