Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

[Merge into luke's taskbar PR] Fix icons #396

Merged
merged 1 commit into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions packages/fether-electron/src/main/app/options/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ const INDEX_HTML_PATH =
});

// Icon path differs when started with `yarn electron` or `yarn start`
const ICON_PATH =
process.env.ELECTRON_START_ICON || process.env.SKIP_PREFLIGHT_CHECK
? 'src/main/app/options/config/icons/parity-ethereum-fether-icon.png'
: path.join(__dirname, 'icons', 'parity-ethereum-fether-icon.png');
const ICON_PATH = path.join(
staticPath,
'assets',
'icons',
'parity-ethereum-fether-icon.png'
);

const shouldUseDevTools = process.env.NODE_ENV !== 'production';

Expand Down