Skip to content

Commit

Permalink
Upgraded to Electron 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Digimezzo Raphaël committed Dec 13, 2021
1 parent 34cea63 commit 52fe424
Show file tree
Hide file tree
Showing 17 changed files with 56,540 additions and 24,818 deletions.
4 changes: 3 additions & 1 deletion main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import * as url from 'url';

app.commandLine.appendSwitch('disable-color-correct-rendering');

log.create('main');
log.transports.file.resolvePath = () => path.join(app.getPath('userData'), 'logs', 'Knowte.log');

let mainWindow, workerWindow, serve;
const args = process.argv.slice(1);
serve = args.some((val) => val === '--serve');
Expand Down Expand Up @@ -286,7 +289,7 @@ try {
throw localError;
}

shell.openItem(safePath);
shell.showItemInFolder(safePath);
});
});
});
Expand Down
Loading

0 comments on commit 52fe424

Please sign in to comment.