force display the window after started or updated
This commit is contained in:
parent
7fb27b927c
commit
a8c936a885
@ -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(() => {
|
||||
<App />
|
||||
</HashRouter>
|
||||
);
|
||||
|
||||
// force display the window
|
||||
WindowSetAlwaysOnTop(true);
|
||||
WindowSetAlwaysOnTop(false);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user