fix delete in electron app on mac (#6164)
fix delete in electron app on mac (#6164)

* make delete work for electron app on mac

* {} !== {}

Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt,Microsoft/pxt