diff --git a/lib/browser/init.js b/lib/browser/init.js index 192cf81656aa..24a86fdfee7b 100644 --- a/lib/browser/init.js +++ b/lib/browser/init.js @@ -163,7 +163,7 @@ require('./api/protocol') const mainStartupScript = packageJson.main || 'index.js' // Workaround for electron/electron#5050 and electron/electron#9046 -if (process.platform === 'linux' && ['Pantheon', 'Unity:Unity7', 'ubuntu:GNOME'].includes(process.env.XDG_CURRENT_DESKTOP)) { +if (process.platform === 'linux' && ['Pantheon', 'Unity:Unity7', 'ubuntu:GNOME', 'pop:GNOME'].includes(process.env.XDG_CURRENT_DESKTOP)) { process.env.XDG_CURRENT_DESKTOP = 'Unity' }