diff --git a/src/main/app.js b/src/main/app.js index 412a323b..83a714af 100644 --- a/src/main/app.js +++ b/src/main/app.js @@ -11,6 +11,7 @@ import { import menu from 'main/menu' import db from 'helpers/db' +import { i } from 'helpers/staticPath' import { terminateAllTheThings } from './terminator' @@ -65,6 +66,11 @@ const saveWindowSettings = window => { } const defaultWindowOptions = { + // Linux require window to have icon to be correctly displayed + // in docks, when using , etc. + // see https://github.com/electron-userland/electron-builder/issues/2269 + icon: i('linux-app-icon-512x512.png'), + backgroundColor: '#fff', webPreferences: { devTools, diff --git a/static/images/linux-app-icon-512x512.png b/static/images/linux-app-icon-512x512.png new file mode 100644 index 00000000..6b8c437e Binary files /dev/null and b/static/images/linux-app-icon-512x512.png differ