move dock hide to on ready

This commit is contained in:
Jeffrey Morgan 2023-07-06 14:41:25 -04:00
parent 0952f7cb78
commit 26e7af0a1a
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import * as fs from 'fs'
require('@electron/remote/main').initialize()
let tray: Tray | null = null
const createSystemtray = () => {
let brightModeIconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_dark_16x16.png')
let darkModeIconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_bright_16x16.png')