Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
0.2.0 (#10)
Browse files Browse the repository at this point in the history
* Fix linting errors

* 0.2.0
  • Loading branch information
jkuester authored Jun 27, 2019
1 parent f453a11 commit 7a47b0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cucumber-forge-desktop",
"productName": "cucumber-forge-desktop",
"version": "0.1.1",
"version": "0.2.0",
"description": "Cucumber Forge Desktop Application",
"main": "src/index.js",
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const { app, BrowserWindow, dialog, shell } = require('electron');
const {
app, BrowserWindow, dialog, shell,
} = require('electron');
const updater = require('electron-simple-updater');

// Handle creating/removing shortcuts on Windows when installing/uninstalling.
Expand Down Expand Up @@ -60,8 +62,8 @@ const createWindow = () => {
mainWindow.loadURL(`file://${__dirname}/index.html`);

mainWindow.setMenu(null);
mainWindow.webContents.on('new-window', function(e, url) {

mainWindow.webContents.on('new-window', (e, url) => {
e.preventDefault();
shell.openExternal(url);
});
Expand Down

0 comments on commit 7a47b0e

Please sign in to comment.