Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
90d4ea9d
Commit
90d4ea9d
authored
Jul 06, 2023
by
Jeffrey Morgan
Browse files
move dock hide to on ready
parent
c90d1d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
app/src/index.ts
app/src/index.ts
+1
-0
No files found.
app/src/index.ts
View file @
90d4ea9d
...
@@ -6,6 +6,7 @@ import * as fs from 'fs'
...
@@ -6,6 +6,7 @@ import * as fs from 'fs'
require
(
'
@electron/remote/main
'
).
initialize
()
require
(
'
@electron/remote/main
'
).
initialize
()
let
tray
:
Tray
|
null
=
null
let
tray
:
Tray
|
null
=
null
const
createSystemtray
=
()
=>
{
const
createSystemtray
=
()
=>
{
let
brightModeIconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
ollama_icon_dark_16x16.png
'
)
let
brightModeIconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
ollama_icon_dark_16x16.png
'
)
let
darkModeIconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
ollama_icon_bright_16x16.png
'
)
let
darkModeIconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
ollama_icon_bright_16x16.png
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment