mcesystems / node-windows-trayicon Goto Github PK
View Code? Open in Web Editor NEWNode module to create tray icon app for windows
License: MIT License
Node module to create tray icon app for windows
License: MIT License
Need to detect a focus loosing and hide a popup menu.
Hello,
i have used sample code and run that code it's working properly, but when i use PKG to build exe of that sample code it's generated but while executing exe file it's immediately closed instead of generating tray icon.
can you please help me on that.
Sample Code used whatever available here https://www.npmjs.com/package/windows-trayicon
PKG index.js (to build executable file)
This is still an issue on Windows 11
thanks for the great package!
I wanna build a app can run on WinXP~
2366 verbose stack Error: [email protected] install: `autogypi && node-gyp configure build`
2366 verbose stack Exit status 1
2366 verbose stack at EventEmitter.<anonymous> (C:\Users\mail\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
2366 verbose stack at EventEmitter.emit (events.js:182:13)
2366 verbose stack at ChildProcess.<anonymous> (C:\Users\mail\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
2366 verbose stack at ChildProcess.emit (events.js:182:13)
2366 verbose stack at maybeClose (internal/child_process.js:962:16)
2366 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
2367 verbose pkgid [email protected]
2368 verbose cwd P:\Temp\nodejs-starter
2369 verbose Windows_NT 10.0.17134
2370 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\mail\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i"
2371 verbose node v10.15.0
2372 verbose npm v6.4.1
2373 error code ELIFECYCLE
2374 error errno 1
2375 error [email protected] install: `autogypi && node-gyp configure build`
2375 error Exit status 1
2376 error Failed at the [email protected] install script.
2376 error This is probably not a problem with npm. There is likely additional logging output above.
2377 verbose exit [ 1, true ]
It not work in node v14.
error C2661: 'v8::Object::Get': no overloaded function takes 1 arguments
Do you can to rebuild a N-API version?
Hello ,
Installtion works and if i run with node also works , but when package into an EXE with nexe or pkg gives the following :
Error: Module did not self-register.
at Object.Module._extensions..node (module.js:680:18)
at Module.load (module.js:564:32)
at tryModuleLoad (module.js:504:12)
at Function.Module._load (module.js:496:3)
at Module.require (module.js:595:17)
at Module.require (pkg/prelude/bootstrap.js:1166:31)
at require (internal/module.js:11:18)
at initNode (C:\snapshot\test\node_modules\nbind\dist\nbind.js:141:15)
at C:\snapshot\test\node_modules\nbind\dist\nbind.js:115:13
at findCompiledModule (C:\snapshot\test\node_modules\nbind\dist\nbind.js:79:13)
Can you help ?
Thanks ,
ive wrote a very simple app,
loads up the icon and menu in tray and then every second just put a random message into the windows event log
it works fine when run from the command line,
but when i start the app as a service, no icon is displayed in the tray?
HOWEVER the app is running fine as its putting the random message into the windows event log no problem?
im using the node-windows for the service and logging https://github.com/coreybutler/node-windows
any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.