Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

Commit 69e370b

Browse files
authored
MiscFixes for 1.6.1 Release (#72)
- Fix entering urls directly into location bar (addresses #60) - Fix Open... text formatting #56 - Add tab focus for nav buttons #49 - Add devtools for webview under View -> Toggle Page Developer Tools #59 - Bump to latest pywb build
1 parent e5af56c commit 69e370b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

app/menu.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default class MenuBuilder {
6161
const subMenuFile = {
6262
label: 'File',
6363
submenu: [
64-
{ label: 'Open', click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }}
64+
{ label: 'Open...', accelerator: 'Command+O', click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }}
6565
]
6666
};
6767
const subMenuEdit = {
@@ -79,13 +79,16 @@ export default class MenuBuilder {
7979
const subMenuViewDev = {
8080
label: 'View',
8181
submenu: [
82+
{ label: 'Toggle App Developer Tools', accelerator: 'Alt+Ctrl+J', click: () => { this.mainWindow.toggleDevTools(); }},
83+
{ label: 'Toggle Page Developer Tools', accelerator: 'Alt+Ctrl+I', click: () => { this.mainWindow.webContents.send('toggle-devtools'); }},
8284
{ label: 'Reload', accelerator: 'Command+R', click: () => { this.mainWindow.webContents.reload(); } },
8385
{ label: 'Toggle Full Screen', accelerator: 'Ctrl+Command+F', click: () => { this.mainWindow.setFullScreen(!this.mainWindow.isFullScreen()); } }
8486
]
8587
};
8688
const subMenuViewProd = {
8789
label: 'View',
8890
submenu: [
91+
{ label: 'Toggle Page Developer Tools', accelerator: 'Alt+Ctrl+I', click: () => { this.mainWindow.webContents.send('toggle-devtools'); }},
8992
{ label: 'Toggle Full Screen', accelerator: 'Ctrl+Command+F', click: () => { this.mainWindow.setFullScreen(!this.mainWindow.isFullScreen()); } }
9093
]
9194
};
@@ -127,7 +130,7 @@ export default class MenuBuilder {
127130
label: '&Open',
128131
click: () => { this.mainWindow.webContents.send('open-warc-dialog'); }
129132
}, {
130-
label: '&Close',
133+
label: '&Quit',
131134
accelerator: 'Ctrl+W',
132135
click: () => {
133136
this.mainWindow.close();

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webrecorder-player",
33
"productName": "Webrecorder Player",
4-
"version": "1.6.0",
4+
"version": "1.6.1",
55
"description": "Webrecorder Player -- Standalone Web Archive Browser App",
66
"main": "./main.prod.js",
77
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webrecorderplayer",
33
"productName": "Webrecorder Player",
4-
"version": "1.6.0",
4+
"version": "1.6.1",
55
"description": "Webrecorder Player -- Standalone Web Archive Browser App",
66
"scripts": {
77
"build": "concurrently \"npm run build-main\" \"npm run build-frontend\"",

webrecorder

0 commit comments

Comments
 (0)