2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 20:11:15 +00:00
books/src/menu.js

12 lines
219 B
JavaScript
Raw Normal View History

const { remote } = require('electron');
const { Menu } = remote;
function openMenu() {
const menu = Menu.getApplicationMenu();
menu.popup({ window: remote.getCurrentWindow() });
}
module.exports = {
openMenu
};