I'm trying to copy an image from a folder to another using fs-extra module .  var fse = require('fs-extra');  function copyimage() {   fse.copy('mainisp.jpg', './test', function (err) {          if (err)        return cons...
I'm writing a desktop app using nwjs, and I want to use the right mouse button for some UI functions. This is working pretty ok right now; I am able to disable the context menu when the right click was for a UI function.  However, I am having an...
How do I capture the line number of logs when capturing the console? (Chrome only - other browsers not relevant for me)  I have the below to capture all logs;  consoleLogs: [],  init: function(){     app.captureConsole(); },  captureConsole: function...
Searching for this error text I get only info about Google Chrome.  I want to disable this warning or understand why this is happening.   I found this: https://github.com/nwjs/nw.js/issues/5761 and deleted  ~/Library/Application Support/nwjs/rm -rf D...
I have the following nodejs code using net.connect in my nwjs app:  const client = net.connect({ host: '127.0.0.1', port }, () => {   log.debug("inside the net.connect method")    client.write(JSON.stringify(payload) + '\r\n...
I can see the code in Element view in Chrome, but not in source because it is load by document.write function.  How do I set a breakpoint in this case?...
is there a way to install dev version of nwjs automatically from package.json like when I type npm install?  Like when i type npm i nw --nwjs_build_type=sdk  I tried setting environment variable like this in package.json:  "scripts": { "p...
I have a NWJS app that should run in system tray and only show main window if user requests it. So far I have this code to make it happen:  package.json:  {   "name": "helloworld",   "bg-script": "bg.js",   "main&#...
I'm working on an IDE as a side project using NW.js and I need to detect if there's any changes to my project tree when focused.  I'm using JQuery's .each check if the files in the project folder have changed since being focused.  Her...
I have an application that is built with angular (FE), and Nestjs (BE). The application is working fine on the server.  I am trying to combine the application with NWJS environment in order to create a desktop application.  I can run the application...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.