سؤال

I wanted to create a complete background running app that only shows up in the system-tray and doesn't have any "window" as such. I tried setting the "window" attribute to false, but that doesn't work. Is there any way to create a completely background daemon-style application using node-webkit?

هل كانت مفيدة؟

المحلول 2

Simply use this package.json

{
  "window": {
    "show": false
  }
}

نصائح أخرى

Additionally place a tray to truly reflect a background app:

https://github.com/rogerwang/node-webkit/wiki/Tray

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top