mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
57fb1919ee
Summary: - Fixes #1223 - Still uses a package in the renderer process to listen to changes in the unread count and have access to the canvas api. - Renderer process will write icon to disk and inform main process that it should update the icon Test Plan: - Manual Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2613
15 lines
297 B
JavaScript
15 lines
297 B
JavaScript
import SystemTrayIconStore from './system-tray-icon-store';
|
|
const platform = process.platform;
|
|
|
|
export function activate() {
|
|
this.store = new SystemTrayIconStore(platform);
|
|
this.store.activate();
|
|
}
|
|
|
|
export function deactivate() {
|
|
this.store.deactivate();
|
|
}
|
|
|
|
export function serialize() {
|
|
|
|
}
|