icon update
Before Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 741 B |
Before Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 741 B |
|
@ -19,8 +19,8 @@ const config: ForgeConfig = {
|
|||
icon: './assets/icon.icns',
|
||||
extraResource: [
|
||||
'../ollama',
|
||||
path.join(__dirname, './assets/icon3_16x16Template.png'),
|
||||
path.join(__dirname, './assets/icon3_16x16Template@2x.png'),
|
||||
path.join(__dirname, './assets/ollama_icon_16x16Template.png'),
|
||||
path.join(__dirname, './assets/ollama_icon_16x16Template@2x.png'),
|
||||
...(process.platform === 'darwin' ? ['../llama/ggml-metal.metal'] : []),
|
||||
],
|
||||
...(process.env.SIGN
|
||||
|
|
|
@ -66,10 +66,10 @@ function firstRunWindow() {
|
|||
}
|
||||
|
||||
function createSystemtray() {
|
||||
let iconPath = path.join(__dirname, '..', '..', 'assets', 'icon3_16x16Template.png')
|
||||
let iconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_16x16Template.png')
|
||||
|
||||
if (app.isPackaged) {
|
||||
iconPath = path.join(process.resourcesPath, 'icon3_16x16Template.png')
|
||||
iconPath = path.join(process.resourcesPath, 'ollama_icon_16x16Template.png')
|
||||
}
|
||||
|
||||
tray = new Tray(iconPath)
|
||||
|
|