We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99ac083 commit 1c17bb4Copy full SHA for 1c17bb4
1 file changed
electron/main.cjs
@@ -94,8 +94,8 @@ let pluginManifests = [] // [{ manifest, pluginDir }]
94
function createTrayIconPng() {
95
const { deflateSync } = require('zlib')
96
const W = 22, H = 22
97
- const BG = [30, 30, 30] // #1e1e1e
98
- const FG = [90, 156, 245] // #5a9cf5
+ const BG = [0, 0, 0, 0] // transparent
+ const FG = [255, 255, 255, 255] // white, fully opaque
99
const colStarts = [2, 6, 10, 14, 18] // 5 cols, 3 px wide, 1 px gap
100
const rowStarts = [4, 9, 14] // 3 rows, 3 px tall, 2 px gap
101
@@ -129,7 +129,7 @@ function createTrayIconPng() {
129
130
const ihdr = Buffer.alloc(13)
131
ihdr.writeUInt32BE(W, 0); ihdr.writeUInt32BE(H, 4)
132
- ihdr[8] = 8; ihdr[9] = 2 // 8-bit, RGB
+ ihdr[8] = 8; ihdr[9] = 6 // 8-bit, RGBA
133
134
return Buffer.concat([
135
Buffer.from([0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A]),
0 commit comments