Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysticatea/electron-tray-test
https://github.com/mysticatea/electron-tray-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mysticatea/electron-tray-test
- Owner: mysticatea
- License: mit
- Created: 2017-10-12T07:59:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-12T08:28:24.000Z (about 7 years ago)
- Last Synced: 2024-05-02T06:14:41.861Z (8 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A repro code for `Tray#displayBalloon`'s icon
This is a repro code about `Tray#displayBalloon`'s `icon` parameter does not work.
## Environments
* Electron version: 1.7.9
* Operating system: Windows 7 Pro SP1 (64 bits)## Steps
1. `git clone https://github.com/mysticatea/electron-tray-test.git`
2. `cd electron-tray-test`
3. `npm install`
4. `npm run test:none` ... It works if the `icon` parameter is nothing.
5. `npm run test:string` ... It does not work if the `icon` parameter is a string. It showed the tray icon, but does not show the balloon.
6. `npm run test:image` ... It does not work if the `icon` parameter is a NativeImage instance. It showed the tray icon, but does not show the balloon.