Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
stelosca96 committed Oct 30, 2020
1 parent e487705 commit 7cffa9e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ const mainMenuTemplate = [
}
];

if(process.env.NODE_ENV !== 'production'){
mainMenuTemplate.push({
label: 'Developer Tools',
submenu: [{
label: 'Toggle DevTools',
accelerator: process.platform === 'darwin' ? 'command+I' : 'ctrl+I',
click(item, focusedWindow) {
focusedWindow.webContents.toggleDevTools();
}
}
]
});
}
// if(process.env.NODE_ENV !== 'production'){
// mainMenuTemplate.push({
// label: 'Developer Tools',
// submenu: [{
// label: 'Toggle DevTools',
// accelerator: process.platform === 'darwin' ? 'command+I' : 'ctrl+I',
// click(item, focusedWindow) {
// focusedWindow.webContents.toggleDevTools();
// }
// }
// ]
// });
// }
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"publish": "rollup -c && electron-builder"
},
"build": {
"appId": "whpsc-simulator-dev",
"productName": "WHPSC Simulator Dev",
"appId": "whpsc-simulator",
"productName": "WHPSC Simulator",
"directories": {
"output": "release/"
},
Expand Down
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
onMount(() => {
console.log('v1.3.5_dev');
console.log('v1.3.5');
const params = new URLSearchParams(window.location.search);
// console.log(params.get('res'));
res = params.get('res');
Expand Down

0 comments on commit 7cffa9e

Please sign in to comment.