简体   繁体   中英

Unhide the menu bar for app after compiled with electron-packager

I notice that electron-packager has hide the top menu bar after we compiled an exe file if compared to electron-prebuilt. Is there ways to unhide it? I need to use it for user to choose some settings.

Same topic reference: github

你试过这样的吗?

mainWindow.setMenuBarVisibility(true);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM