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
aa281a30
Commit
aa281a30
authored
Jul 18, 2023
by
Eva Ho
Browse files
updating icons
parent
760bc336
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
6 deletions
+5
-6
app/assets/icon3_16x16Template.png
app/assets/icon3_16x16Template.png
+0
-0
app/assets/icon3_16x16Template@2x.png
app/assets/icon3_16x16Template@2x.png
+0
-0
app/assets/icon_16x16Template.png
app/assets/icon_16x16Template.png
+0
-0
app/assets/icon_16x16Template@2x.png
app/assets/icon_16x16Template@2x.png
+0
-0
app/forge.config.ts
app/forge.config.ts
+3
-3
app/src/index.ts
app/src/index.ts
+2
-3
No files found.
app/assets/icon3_16x16Template.png
0 → 100644
View file @
aa281a30
403 Bytes
app/assets/icon3_16x16Template@2x.png
0 → 100644
View file @
aa281a30
741 Bytes
app/assets/icon_16x16Template.png
0 → 100644
View file @
aa281a30
381 Bytes
app/assets/icon_16x16Template@2x.png
0 → 100644
View file @
aa281a30
696 Bytes
app/forge.config.ts
View file @
aa281a30
import
type
{
ForgeConfig
,
ResolvedForgeConfig
,
ForgeMakeResult
}
from
'
@electron-forge/shared-types
'
import
type
{
ForgeConfig
}
from
'
@electron-forge/shared-types
'
import
{
MakerSquirrel
}
from
'
@electron-forge/maker-squirrel
'
import
{
MakerZIP
}
from
'
@electron-forge/maker-zip
'
import
{
PublisherGithub
}
from
'
@electron-forge/publisher-github
'
...
...
@@ -19,8 +19,8 @@ const config: ForgeConfig = {
icon
:
'
./assets/icon.icns
'
,
extraResource
:
[
'
../ollama
'
,
path
.
join
(
__dirname
,
'
./assets/
ollama_
icon_16x16Template.png
'
),
path
.
join
(
__dirname
,
'
./assets/
ollama_
icon_16x16Template@2x.png
'
),
path
.
join
(
__dirname
,
'
./assets/icon
3
_16x16Template.png
'
),
path
.
join
(
__dirname
,
'
./assets/icon
3
_16x16Template@2x.png
'
),
...(
process
.
platform
===
'
darwin
'
?
[
'
../llama/ggml-metal.metal
'
]
:
[]),
],
...(
process
.
env
.
SIGN
...
...
app/src/index.ts
View file @
aa281a30
...
...
@@ -66,10 +66,10 @@ function firstRunWindow() {
}
function
createSystemtray
()
{
let
iconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
ollama_
icon_16x16Template.png
'
)
let
iconPath
=
path
.
join
(
__dirname
,
'
..
'
,
'
..
'
,
'
assets
'
,
'
icon
3
_16x16Template.png
'
)
if
(
app
.
isPackaged
)
{
iconPath
=
path
.
join
(
process
.
resourcesPath
,
'
ollama_
icon_16x16Template.png
'
)
iconPath
=
path
.
join
(
process
.
resourcesPath
,
'
icon
3
_16x16Template.png
'
)
}
tray
=
new
Tray
(
iconPath
)
...
...
@@ -162,7 +162,6 @@ app.on('ready', () => {
// This is the first run or the CLI is no longer installed
app
.
setLoginItemSettings
({
openAtLogin
:
true
})
firstRunWindow
()
})
...
...
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