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
0
votes
2 answers

IPC on Terminal Server with C/C++ an nw.js/node.js/node-native-module (C++)?

I have a Win32-DLL (C++) which is loaded as a plugin in another application. The DLL starts a nw.js instance (ShellExecuteEx and SEE_MASK_NOCLOSEPROCESS) and ends it at DLL unloading (by the hInstance of ShellExecuteEx). I need a way to send a…
Jonny
  • 163
  • 2
  • 11
0
votes
1 answer

TypeScript - referencing jQuery in classes

Getting the following error "Uncaught ReferenceError: $ is not defined". I understand the error very well, jQuery isn't recognized inside my class. What I don't understand is how to ensure it gets picked up. Here is what I've got so far: ./app.ts…
Andrew Grothe
  • 2,342
  • 1
  • 31
  • 42
0
votes
1 answer

GitHub release asset download with node.js

I want to write an auto downloader in Node.js using the http.get method from a GitHub release using the API and and i receive 302 error. What can i do?
loopByte
  • 13
  • 1
0
votes
1 answer

How to check if context menu has been closed?

I've been searching to see if there is a way to check whether the context menu in a nw.js app has been closed(if you click away from the menu or on another window, etc so that the menu disappears). I haven't been able to find an answer. I have it…
user3591153
  • 313
  • 3
  • 12
0
votes
0 answers

how to get keypress from one window into another?

I've been trying to get the keypress from one window into another. Since a window gets focused, the other window can't receive my keypresses, so I want to pass those to the window that needs them. I can't figure out how to do this. I've tried…
user3591153
  • 313
  • 3
  • 12
0
votes
1 answer

Check that Html is using with Node-webkit or not?

I want the Html file only run with Node-webkit because of license purpose, not allow to run on any other browser (Chrome, Safari, Firefox...) Can we check by the Html file that it's running with Node-webkit or not?
Ben Mack
  • 450
  • 1
  • 6
  • 29
0
votes
1 answer

How to tell gulp which version of node-webkit to use

I'm building a node webkit app and want to gulp run it. However every time gulp grabs the 'latest' alpha build (v0.13.0) and I need it to grab v0.12.2 how can I tell it to do this?? The full error is: [11:14:45] Starting 'run'... Latest Version:…
0
votes
3 answers

NW.js build doesn't open for Raspberry Pi (Raspbian)

I have a desktop application (built with NW.js and the node-webkit-builder) that runs smoothly on Windows and OS X, however, I can't seem to open the executable on the Raspberry Pi. The NW.js builder outputs the 32- and 64-bit Linux distributions,…
Farhad Ghayour
  • 283
  • 1
  • 3
  • 11
0
votes
1 answer

Browserify with node-webkit (nw.js) usage

I'm using grunt-browserify to build my application for nw.js. The problem is that process.cwd() or __dirname returns relative paths not absolute. I've tried different combinations of detectGlobals and insertGlobals options. Doesnt work. How do I…
gyzerok
  • 1,179
  • 8
  • 24
0
votes
2 answers

How to inject CSS into an iFrame in Node Webkit?

I'm working on a small mac app version of a web app using nw.js and want to style it to look more "mac-app" like: How would I inject custom CSS into the iFrame that loads the app? I've tried the standard way but it doesn't work because they're from…
David Bui
  • 11
  • 1
0
votes
2 answers

How can we use react jsx templates in node-webkit

I'm having troubles using react's jsxtemplates in node-webkit. The basic problem boils down to this; Using the following code React.createClass({ render:function(){ return

Hello FLUX

} }); will have node-webkit telling…
Lukas
  • 7,340
  • 10
  • 51
  • 94
0
votes
0 answers

Need ffmpegsumo.dll from a very specific Chrome version

For an nw.js (formerly known as node-webkit) app, I need ffmpegsumo.dll from a very specific version of Google Chrome, 41.0.2272.76 (win32 & 64), as described in the nw.js documentation. I can't find a download for this specific version of Chrome…
Bart van Heukelom
  • 40,403
  • 57
  • 174
  • 291
0
votes
1 answer

How to add a config.js file into nwjs install directory?

I use node-webkit-builder to package my nwjs application. Since the program running directory path is not same as the install directory path( the running directory path is like this: C:\Users[username]\AppData\Local\Temp\nw7388_7201 ). I don't know…
Jack Hu
  • 1,135
  • 2
  • 9
  • 23
0
votes
1 answer

Identify when single page app is running as a nw.js app

How can I identify if your single page web app is running with nw.js (previously known as nodewebkit) via javascript? I'd like to be able to share the code between the web client and the nw.js app, while being able to figure when to use different…
akst
  • 885
  • 10
  • 21
0
votes
1 answer

No input validation in node webkit (nw.js) based app

This is my HTML code which basically make the username necessary for form submission and displays a tooltip for the field if left black on submission. The HTML Page works fine,…
Ashesh
  • 3,230
  • 1
  • 20
  • 42
1 2 3
20
21