mirror of
https://github.com/electron/electron.git
synced 2026-01-27 08:18:28 -05:00
* restore stash revert some things work others dont tracking area for rescue manual popup restore drag n drop cleanup * fix: make tray not block main process (#18880) * fix: make tray not block main process * make AtomMenuModel refcounted * add support for ansi codes in title add remove TODOs * chore: use ScopedPumpMessagesInPrivateModes in tray (#18977) * chore: use ScopedPumpMessagesInPrivateModes in tray * revert refcounting of AtomMenuModel * Prefer WeakPtr for posting tasks to handle unexpected destruction * cleanup .h * cleanup .mm * add imports add missing include * fix: crash when tray popup called twice (#18999) * remove highlightMode and TODOs * remove unnecessary copy
10 lines
234 B
JavaScript
10 lines
234 B
JavaScript
'use strict'
|
|
|
|
const { EventEmitter } = require('events')
|
|
const { deprecate } = require('electron')
|
|
const { Tray } = process.electronBinding('tray')
|
|
|
|
Object.setPrototypeOf(Tray.prototype, EventEmitter.prototype)
|
|
|
|
module.exports = Tray
|