icon update

This commit is contained in:
Eva Ho 2023-07-18 13:33:04 -04:00
parent aa281a30e5
commit a9cc270b4d
8 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

After

Width:  |  Height:  |  Size: 741 B

View file

@ -19,8 +19,8 @@ const config: ForgeConfig = {
icon: './assets/icon.icns', icon: './assets/icon.icns',
extraResource: [ extraResource: [
'../ollama', '../ollama',
path.join(__dirname, './assets/icon3_16x16Template.png'), path.join(__dirname, './assets/ollama_icon_16x16Template.png'),
path.join(__dirname, './assets/icon3_16x16Template@2x.png'), path.join(__dirname, './assets/ollama_icon_16x16Template@2x.png'),
...(process.platform === 'darwin' ? ['../llama/ggml-metal.metal'] : []), ...(process.platform === 'darwin' ? ['../llama/ggml-metal.metal'] : []),
], ],
...(process.env.SIGN ...(process.env.SIGN

View file

@ -66,10 +66,10 @@ function firstRunWindow() {
} }
function createSystemtray() { function createSystemtray() {
let iconPath = path.join(__dirname, '..', '..', 'assets', 'icon3_16x16Template.png') let iconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_16x16Template.png')
if (app.isPackaged) { if (app.isPackaged) {
iconPath = path.join(process.resourcesPath, 'icon3_16x16Template.png') iconPath = path.join(process.resourcesPath, 'ollama_icon_16x16Template.png')
} }
tray = new Tray(iconPath) tray = new Tray(iconPath)