diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 259ed82..bbb6688 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -6,6 +6,7 @@ import App from './App'; import { HashRouter } from 'react-router-dom'; import { startup } from './startup'; import './_locales/i18n-react'; +import { WindowSetAlwaysOnTop } from '../wailsjs/runtime'; startup().then(() => { const container = document.getElementById('root'); @@ -17,4 +18,8 @@ startup().then(() => { ); + + // force display the window + WindowSetAlwaysOnTop(true); + WindowSetAlwaysOnTop(false); });