From 2ae1ecc7f1b0adadaab661c5502367e9b2500965 Mon Sep 17 00:00:00 2001 From: xyTom <75466119+xyTom@users.noreply.github.com> Date: Thu, 28 Mar 2024 03:17:53 +0000 Subject: [PATCH] Update logo --- src/renderer/App.tsx | 3 ++- {public => src/renderer/assets}/logo.png | Bin tsconfig.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) rename {public => src/renderer/assets}/logo.png (100%) diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 6e99421..6ef9a5a 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -2,6 +2,7 @@ import './App.css'; import React, { useState,useEffect } from 'react'; import gemini from './models/gemini'; +import logo from './assets/logo.png'; declare global { interface Window { @@ -48,7 +49,7 @@ function App() {
{/* */} - {!screenShotResult && logo} + {!screenShotResult && logo}

Press {shortcut} to make a screenshot.

diff --git a/public/logo.png b/src/renderer/assets/logo.png similarity index 100% rename from public/logo.png rename to src/renderer/assets/logo.png diff --git a/tsconfig.json b/tsconfig.json index 8de9571..31a8b10 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, + "allowSyntheticDefaultImports": true, "noImplicitAny": true, "sourceMap": true, "baseUrl": ".",