diff --git a/README.md b/README.md index 689333bf17a1cdec694968a1d657aba10193be03..e71e4b4f5eb9d777b6fe4b2c89e40eba855dbdce 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Fether Wallet +# Fether ## Get the latest binary diff --git a/packages/fether-electron/electron-builder.json b/packages/fether-electron/electron-builder.json index 63245c19d1bd9364ea35e5d003d198b262fcbe15..7fda08699101ebd106ca291d8e7842d27a019bc0 100644 --- a/packages/fether-electron/electron-builder.json +++ b/packages/fether-electron/electron-builder.json @@ -14,7 +14,7 @@ "oneClick": true, "perMachine": true }, - "productName": "Fether Wallet", + "productName": "Fether", "publish": "github", "win": { "icon": "./assets/icon/small-white-512x512.png", diff --git a/packages/fether-electron/src/main/index.js b/packages/fether-electron/src/main/index.js index 76bf3d8e8a34c86419d73efc87144d9d3813848f..8ce64e1cfcd88f1db4a66f09c44d628dc76546a8 100644 --- a/packages/fether-electron/src/main/index.js +++ b/packages/fether-electron/src/main/index.js @@ -3,8 +3,6 @@ // // SPDX-License-Identifier: BSD-3-Clause -/* global __static */ - import electron from 'electron'; import path from 'path'; import url from 'url'; @@ -17,6 +15,7 @@ import messages from './messages'; import { productName } from '../../electron-builder.json'; import Pino from './utils/pino'; import { runParity, killParity } from './operations/runParity'; +import staticPath from './utils/staticPath'; const { ipcMain, Menu, session } = electron; const pino = Pino(); @@ -28,7 +27,7 @@ const menubar = Mb({ // passed to ELECTRON_START_URL process.env.ELECTRON_START_URL || url.format({ - pathname: path.join(__static, 'build', 'index.html'), + pathname: path.join(staticPath, 'build', 'index.html'), protocol: 'file:', slashes: true }), @@ -44,6 +43,9 @@ const menubar = Mb({ function createWindow () { pino.info(`Starting ${productName}...`); + // Show window on start + menubar.showWindow(); + doesParityExist() .catch(() => fetchParity(menubar.window)) // Install parity if not present .then(() => runParity(menubar.window)) @@ -77,7 +79,8 @@ function createWindow () { } // Right click menu for Tray -menubar.on('after-create-window', () => { +menubar.on('after-create-window', function () { + // Add right-click menu const contextMenu = Menu.buildFromTemplate([ { role: 'about' }, { type: 'separator' }, diff --git a/packages/fether-react/public/index.html b/packages/fether-react/public/index.html index 43917cd73cb41d724d72ecaf314920a227a51e0b..27ac9c71424dc9f72728cd0d48ab536003a513fa 100644 --- a/packages/fether-react/public/index.html +++ b/packages/fether-react/public/index.html @@ -21,7 +21,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - Fether Wallet + Fether diff --git a/packages/fether-ui/README.md b/packages/fether-ui/README.md index cb7f5cbcc4ed4dab85a3117520ee4f4c08983b5b..8080a9ccea19828614f68cd8b14e4b37e597fca0 100644 --- a/packages/fether-ui/README.md +++ b/packages/fether-ui/README.md @@ -1,3 +1,3 @@ # fether-ui -UI components used in the Fether Wallet. +UI components used in Fether.