浏览代码

move dock hide to on ready

Jeffrey Morgan 1 年之前
父节点
当前提交
90d4ea9d71
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/index.ts

+ 1 - 0
app/src/index.ts

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