mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Fix menubar icon color is not set correctly on Windows & Linux (#294)
This commit is contained in:
parent
ed8cf1866f
commit
15fef9fff6
4 changed files with 2 additions and 1 deletions
Binary file not shown.
BIN
public/menubar.png
Normal file
BIN
public/menubar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 787 B |
BIN
public/menubar@2x.png
Normal file
BIN
public/menubar@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -32,7 +32,8 @@ const createAsync = () => new Promise((resolve) => {
|
|||
|
||||
mb = menubar({
|
||||
index: REACT_PATH,
|
||||
icon: path.resolve(__dirname, '..', 'menubarTemplate.png'),
|
||||
// icon template is not supported on Windows & Linux
|
||||
icon: path.resolve(__dirname, 'images', process.platform === 'darwin' ? 'menubarTemplate.png' : 'menubar.png'),
|
||||
preloadWindow: true,
|
||||
tooltip: 'Singlebox',
|
||||
browserWindow: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue