From dbb3174cbcea9d646ff2b2ba67b4b5e47909cb9b Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 27 Jul 2023 10:53:38 -0400 Subject: [PATCH] app: fix #218 and keep dock open on install --- app/src/app.tsx | 7 ++++++- app/src/index.ts | 9 +++++---- app/src/install.ts | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/src/app.tsx b/app/src/app.tsx index ee16212a..3d14338b 100644 --- a/app/src/app.tsx +++ b/app/src/app.tsx @@ -2,7 +2,7 @@ import { useState } from 'react' import copy from 'copy-to-clipboard' import { CheckIcon, DocumentDuplicateIcon } from '@heroicons/react/24/outline' import Store from 'electron-store' -import { getCurrentWindow } from '@electron/remote' +import { getCurrentWindow, app } from '@electron/remote' import { install } from './install' import OllamaIcon from './ollama.svg' @@ -107,6 +107,11 @@ export default function () {