While browsing differences between 4.1.1a and 4.2.0beta I noticed a typo in the method “onWindowBtnClick” of the class TaskBar:
at line 161, it should be “single” instead of “sinfgle”.Code:win.on('hide', function() { btn.enable(); }, null, {sinfgle: true}); win.minimize();