move dock hide to on ready

This commit is contained in:
Jeffrey Morgan 2023-07-06 14:41:25 -04:00
parent c90d1d8c89
commit 90d4ea9d71

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')