summarylogtreecommitdiffstats
path: root/default_app-icon.patch
blob: c7894429972e1cc5dc8f831e82f613e86914c654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/electron/default_app/default_app.js
+++ b/electron/default_app/default_app.js
@@ -27,7 +27,7 @@
   }
 
   if (process.platform === 'linux') {
-    options.icon = path.join(__dirname, 'icon.png')
+    options.icon = '/usr/share/pixmaps/electron.png'
   }
 
   mainWindow = new BrowserWindow(options)
--- a/electron/filenames.gni
+++ b/electron/filenames.gni
@@ -95,7 +95,6 @@
 
   default_app_sources = [
     "default_app/default_app.js",
-    "default_app/icon.png",
     "default_app/index.html",
     "default_app/main.js",
     "default_app/menu.js",