Skip to content

Commit

Permalink
Fix installer launching app
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Jan 20, 2022
1 parent a55af15 commit 8e7a378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Nekiro's Rcc Editor is easy to use tool that allows you to replace assets in com

Framework: Electron

Languages: html, js, css
Languages: html, typescript, css

## Features

Expand All @@ -27,7 +27,7 @@ npm run start

## Compilation

Follow above instructions, but instead of **start** write **build**, build files are written to /dist directory
Follow above instructions, but instead of **start** write **build**, build files are written to /out directory

```sh
npm run build
Expand Down
2 changes: 2 additions & 0 deletions src/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export default class Main {
}

static main(app: Electron.App, browserWindow: typeof BrowserWindow) {
if (require('electron-squirrel-startup')) return;

Main.BrowserWindow = browserWindow;
Main.application = app;
Main.application.on('window-all-closed', Main.onWindowAllClosed);
Expand Down

0 comments on commit 8e7a378

Please sign in to comment.