Skip to content

Commit

Permalink
automatically open main window on launch (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhayfield committed Dec 2, 2021
1 parent 5c9361e commit bcc5d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const App: FC = () => {
<Switch>
<RouteListener>
<Route exact path="/">
<Redirect to="/connectForm" />
<Redirect to="/manage" />
</Route>
<Route exact path="/connectForm" component={ConnectForm} />
<Route
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import MenuBuilder from './menu';

const createWindow = () => {
const appWindow = new BrowserWindow({
show: false,
show: true,
width: 1024,
height: 728,
icon: getAssetPath('icon.png'),
Expand Down

0 comments on commit bcc5d40

Please sign in to comment.