GithubHelp home page GithubHelp logo

mcesystems / node-windows-trayicon Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 8.0 95 KB

Node module to create tray icon app for windows

License: MIT License

C++ 87.41% Python 1.62% JavaScript 8.25% C 2.72%

node-windows-trayicon's People

Contributors

idobh2 avatar mceido avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-windows-trayicon's Issues

build issue with PKG

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)

npm install fails

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 ]

Install fail

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?

Can't start after exe package

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 ,

trayicon not shown if run as service using node-windows

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.