removing icon and electron-builder

This commit is contained in:
Eva Ho
2023-07-06 12:45:58 -04:00
committed by Jeffrey Morgan
parent 703e10ca68
commit ea9f0e7dbf
19 changed files with 14 additions and 16 deletions

View File

@@ -7,8 +7,13 @@ require('@electron/remote/main').initialize()
let tray: Tray | null = null
const createSystemtray = () => {
const brightModeIconPath = path.join(__dirname, '..', '..', 'src', 'ollama_icon_dark_16x16.png')
const darkModeIconPath = path.join(__dirname, '..', '..', 'src', 'ollama_icon_bright_16x16.png')
let brightModeIconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_dark_16x16.png')
let darkModeIconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_bright_16x16.png')
if (app.isPackaged) {
brightModeIconPath = path.join(process.resourcesPath, 'ollama_icon_dark_16x16@2x.png')
darkModeIconPath = path.join(process.resourcesPath, 'ollama_icon_bright_16x16@2x.png')
}
tray = new Tray(brightModeIconPath)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 B