feat: add keyboard shortcut to quit the app on Windows (#1202)

This commit is contained in:
YULIUS KURNIAWAN KRISTIANTO 2018-03-30 20:37:30 +02:00 committed by Igor Gassmann
parent 0201b10e95
commit 5ba8db6b6a
2 changed files with 10 additions and 3 deletions

View file

@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/).
## [Unreleased]
### Added
* Add keyboard shortcut to quit the app on Windows ([#1202](https://github.com/lbryio/lbry-app/pull/1202))
## [0.21.2] - 2018-03-22
@ -46,8 +51,6 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
* Fix Windows notifications not showing ([#1145](https://github.com/lbryio/lbry-app/pull/1145))
* Fix export issues ([#1163](https://github.com/lbryio/lbry-app/pull/1163))
## [0.20.0] - 2018-01-30
### Added

View file

@ -2,6 +2,10 @@ import { app, Menu, shell } from 'electron';
export default () => {
const template = [
{
label: 'File',
submenu: [{ role: 'quit', accelerator: 'CmdOrCtrl+Q' }],
},
{
label: 'Edit',
submenu: [