Skip to content

Commit 7b8abc6

Browse files
committed
Don't add update menu items on mac app store build
1 parent 4b8d6bd commit 7b8abc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main-process/menus/application-menu.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ let template = [{
119119
}]
120120

121121
function addUpdateMenuItems (items, position) {
122+
if (process.mas) return
123+
122124
const version = electron.app.getVersion()
123125
let updateItems = [{
124126
label: `Version ${version}`,

0 commit comments

Comments
 (0)