Questions tagged [nw.js]

NW.js lets you call Node.js modules directly from DOM. It was previously known as "node-webkit" project.

NW.js (previously known as "node-webkit" project) is an app runtime based on Chromium and Node.js.

It lets you call Node.js modules directly from DOM and enables a new way of writing applications with all Web technologies.

308 questions
62
votes
7 answers

Electron.js How to minimize/close window to system tray and restore window back from tray?

I want my Electron.js application to live on system tray and whenever the user wants to do something they can restore from the system tray do something and minimize/close it back to system tray. How do i do that? I've seen the tray section from the…
ShegaMike
  • 2,729
  • 1
  • 23
  • 34
18
votes
3 answers

Developing apps for Chrome OS with Electron

I have to develop an app with Windows, MacOS and Chrome OS support – at the very least. Chrome OS is an important requirement because this app is intended to be used in schools – where Chromebooks are a kind of a big deal. As you may know, Chrome…
calvillo
  • 852
  • 9
  • 22
13
votes
1 answer

CSS Loading animation not animating in NW.js (node-webkit)

Here is a jsfiddle with my CSS loading animation working properly. However, when I use the same code in my node-webkit app, the SVG path and colors are static and show no animation. After a bit of research, I tried adding "chromium-args":…
user95227
  • 1,533
  • 1
  • 16
  • 34
12
votes
4 answers

Check when WebKit context is available in NW.js

When executed in Node context (node-main), setTimeout(function () { console.log(nw); }, 20); throws nw is not defined because WebKit context is not ready (right from the start window is unavailable in NW.js <= 0.12, window.nw in NW.js >=…
Estus Flask
  • 150,909
  • 47
  • 291
  • 441
12
votes
2 answers

Cannot completely remove mouse cursor in nw.js app

I'm using nw.js for html/css/js desktop app and cannot completely remove mouse cursor in full screen mode. I've removed it by setting css properties cursor: none, margin: 0, padding: 0 on the body/html. And also toolbar: false and fullscreen: true…
swolfish
  • 793
  • 1
  • 8
  • 24
12
votes
2 answers

Hide window from program switcher in NW.JS

I'm writing desktop application with NW.JS (node-webkit). In my application user may open many windows and I would like to hide them from program switcher (alt+tab) and from taskbar. I already found option to hide the window from taksbar, but can't…
Felix Black
  • 121
  • 3
9
votes
2 answers

How to extract symbol files for nw (node-webkit)?

As docs are saying The symbol files (.sym) can be extracted from the downloaded packages. As far as I understand from one of this http://nwjs.io/downloads/ or from one provided by the nw-builder. Both have the same structure without any *.sym…
sdespolit
  • 873
  • 7
  • 20
8
votes
2 answers

nw.js sign application OSX

I want to sign my app to get rid of app blocking with according to security. I followed to the official NW.js documentation Mac-App-Store-(MAS)-Submission-Guideline Generated certificates, packaged my app, sign it. But after signed, my app close…
Arti
  • 5,595
  • 11
  • 44
  • 102
8
votes
1 answer

How to add text to ubuntu app indicator with with NW.js (or electron)?

I know that it is possible to create a tray icon for a node-webkit application like so: var tray = new gui.Tray({ title: 'Tray', icon: 'img/icon.png' }); but on Ubuntu the title won't be displayed. Is there anyway to achieve this? I would like to…
hugo der hungrige
  • 11,164
  • 8
  • 52
  • 80
7
votes
3 answers

How to package a NW.js application on Windows

I am reading the instructions for how to package a NW.js app and the wording is a confusing mess and makes no sense. I highlighted the contradictory word-salad parts. Create a zip file (this is built into XP, Vista and 7) Copy all of your files…
William
  • 3,608
  • 11
  • 41
  • 85
7
votes
1 answer

Node-Webkit (nwjs) How to align window to the right?

Is there any simple way to align window of Node-Webkit application? As far as I can see in documentation there is such metod as Window.moveTo(), as well as property "position", which nevertheless could have only 3 values: "center", "mouse" and…
SLoN1ck
  • 221
  • 3
  • 6
6
votes
1 answer

Why does require('child-process') not work in Node Webkit without an Internet connection?

In a Node-Webkit application running on the latest stable release (v0.18.8), I have these three lines: console.log("Check 1"); var spawn = require('child_process').spawn; console.log("Check 2"); When I have Internet, I get the expected…
gfrung4
  • 1,288
  • 2
  • 12
  • 19
6
votes
2 answers

Cannot change elements on default electron menu

I have the main menu as it runs by default on every electron app. I want to change the content of it and add what it want to it. So, I tried to follow this documentation http://electron.atom.io/docs/v0.36.0/api/menu/ So, the code of my Hello World…
carloscc
  • 649
  • 2
  • 13
  • 18
6
votes
1 answer

Can I use gamepads with Node-Webkit (NW.js)?

I am building a NW.js (Node-Webkit) dashboard app which I want to be able to control with a game controller (for example: XBox 360 controller or Logitech controller). I'm calling the following onready but when I debug its not recognizing any…
6
votes
1 answer

Create window-like menu on OS X

I'd like to create a same sort of tray menu like this application. Because it is on the list of applications that use node-webkit/nw.js, I think it's possible. I have looked through all the documentation and couldn't find anything on how to achieve…
Feanaro
  • 860
  • 3
  • 20
  • 33
1
2 3
20 21