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.

307 questions
73
votes
8 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…
miqe
  • 3,209
  • 2
  • 28
  • 36
20
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
  • 892
  • 1
  • 9
  • 23
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,853
  • 2
  • 18
  • 36
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
  • 206,104
  • 70
  • 425
  • 565
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
  • 771
  • 1
  • 9
  • 25
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
  • 893
  • 8
  • 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
  • 7,356
  • 12
  • 57
  • 122
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
  • 12,382
  • 9
  • 57
  • 84
8
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
  • 271
  • 3
  • 6
7
votes
1 answer

How can I run a Chrome extension in NW.js?

This question is pretty short and self explanatory. I'm wondering how I can run my Chrome extension in NW.js. I know you can run an app in NW.js and I think you can run extensions as well? I can't find much on the topic. Back in 2013 the way to do…
Slbox
  • 10,957
  • 15
  • 54
  • 106
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
  • 4,422
  • 17
  • 55
  • 108
7
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
  • 779
  • 3
  • 14
  • 20
7
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
  • 922
  • 3
  • 19
  • 35
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,658
  • 3
  • 14
  • 22
1
2 3
20 21