summarylogtreecommitdiffstats
path: root/default_app-icon.patch
diff options
context:
space:
mode:
authorJonathon Fernyhough2021-03-07 00:33:48 +0000
committerJonathon Fernyhough2021-03-07 00:33:48 +0000
commit15c98bff7c7a7806120070ac49e3fb0976aa37e9 (patch)
tree5ff29429e4eaea5b9082f5db2395a654c506eb2c /default_app-icon.patch
downloadaur-15c98bff7c7a7806120070ac49e3fb0976aa37e9.tar.gz
Import to AUR
Diffstat (limited to 'default_app-icon.patch')
-rw-r--r--default_app-icon.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/default_app-icon.patch b/default_app-icon.patch
new file mode 100644
index 000000000000..b2a87707d1a2
--- /dev/null
+++ b/default_app-icon.patch
@@ -0,0 +1,21 @@
+--- a/electron/default_app/default_app.ts
++++ b/electron/default_app/default_app.ts
+@@ -60,7 +60,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
+@@ -6,7 +6,6 @@
+ ]
+
+ default_app_static_sources = [
+- "default_app/icon.png",
+ "default_app/index.html",
+ "default_app/package.json",
+ "default_app/styles.css",