mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 00:37:04 +00:00
removing icon and electron-builder
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user