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
76a678af
Commit
76a678af
authored
Aug 10, 2023
by
Jeffrey Morgan
Browse files
app: dont always show installer window on top now that it lives in the dock
parent
f65169b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/src/index.ts
app/src/index.ts
+3
-3
No files found.
app/src/index.ts
View file @
76a678af
...
@@ -71,7 +71,6 @@ function firstRunWindow() {
...
@@ -71,7 +71,6 @@ function firstRunWindow() {
nodeIntegration
:
true
,
nodeIntegration
:
true
,
contextIsolation
:
false
,
contextIsolation
:
false
,
},
},
alwaysOnTop
:
true
,
})
})
require
(
'
@electron/remote/main
'
).
enable
(
welcomeWindow
.
webContents
)
require
(
'
@electron/remote/main
'
).
enable
(
welcomeWindow
.
webContents
)
...
@@ -237,13 +236,14 @@ app.on('window-all-closed', () => {
...
@@ -237,13 +236,14 @@ app.on('window-all-closed', () => {
// In this file you can include the rest of your app's specific main process
// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and import them here.
// code. You can also put them in separate files and import them here.
const
aid
=
id
()
autoUpdater
.
setFeedURL
({
autoUpdater
.
setFeedURL
({
url
:
`https://ollama.ai/api/update?os=
${
process
.
platform
}
&arch=
${
process
.
arch
}
&version=
${
app
.
getVersion
()}
`
,
url
:
`https://ollama.ai/api/update?os=
${
process
.
platform
}
&arch=
${
process
.
arch
}
&version=
${
app
.
getVersion
()}
&id=
${
aid
}
`
,
})
})
async
function
heartbeat
()
{
async
function
heartbeat
()
{
analytics
.
track
({
analytics
.
track
({
anonymousId
:
id
()
,
anonymousId
:
a
id
,
event
:
'
heartbeat
'
,
event
:
'
heartbeat
'
,
properties
:
{
properties
:
{
version
:
app
.
getVersion
(),
version
:
app
.
getVersion
(),
...
...
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