sindresorhus/electron-context-menu

showSaveImage option is ignored

rer145 opened this issue · 1 comments

When setting showSaveImage to false, the context menu still shows that option no matter what.

contextMenu({ showCopyImage: true, showCopyImageAddress: false, showSaveImage: false, showSaveImageAs: true });

This results in "Save Image", "Save Image As", and "Copy Image" all appearing in the menu. In this instance, I am only looking for "Save Image As" and "Copy Image", since "Save Image" in itself does nothing.

I just tried and worked for me. Sounds like you're on an old version. This was added a while ago: 2f1bae0