I have multiplatform apps in node-webkit. How do I convert them to nw.js? - node-webkit

I have a bunch of applications that run fine using node-webkit on Macs and Windows.
(They mostly live on shared Dropbox folders. They read and write to data files in the folder).
I gather node-webkit will not run on Mac Catalina.
So I am trying to figure out how to install and use nw.js
I need the Mac and Win versions of the app to be in the same directory. Multiple users will run their local Dropbox version of the app, and read/write to the shared data folders.
I cannot figure out how to get convert the app from node-webkit to nw.js
I've been unable to find an "idiot's guide" to this.
Any suggestions, or pointers to resources, would be most helpful.
Thanks in advance.
And apologies for posting what is probably a dumb question for most users of this site....

You have to run your app's old source code (node-webkit) with NW.js and fix all the exceptions thrown. You can find the migration guide here.

Related

I have created a package of an App using nw.js. How can i create a dmg file to distribute it?

Actually there i have a html, CSS and java script based app and i created build of it using nw.js technology using build command. The problem is i want the application in dmg format. please help me finding way.
thank you.
There are many different ways to package your app. You should read the documentation:
https://nwjs.readthedocs.io/en/latest/For%20Users/Package%20and%20Distribute/
I do not know of any tutorials for creating an NW.js package as a DMG. Because the final dist is a single .app file, you could distribute that directly, or compressed in a Zip file or something similar. You may be able to look up instructions around DMG packaging that is not specific to NW.js and apply the concepts. If so, and you get it to work, you should write a blog post or tutorial about it.
You can use https://www.npmjs.com/package/appdmg to create an installer for your NW App on macOS platforms.
In my ongoing development for the same i found the making a .pkg installer is better than making .dmg with reasons you can search for.
so i found two solutions for the same.
packages(an application you can package anything with signed developer id)
buildPkg(a command line process to make package)
in both you just need to add your application.app as mentioned in documentation and follow the steps.

Shared resources in packages made by Electron

I need to distribute a webapp in an offline version on an USB. Electron seems like a great way to make the webapp feel native and work well on all platforms. There is (potentially) just one problem: The offline version requires several huge media files and therefore there is not enough space for each package to have its own folder with the media files. This can be solved by letting the packages share a common directory on the USB. Can you tell me if this is possible with Electron. And if so, how?
(Note that each package must be available on the USB.)

How to instll Siesta Lite on windows 8

We are implementing a project where we need to develop applications in sencha touch and as a tester i will be responsible to test these applications. After some research, I found out that Bryntum's Siesta is the best tool to automate the Manual test cases.
Before we decide to get the license, i just wanted to goof around it a bit so I downloaded the Lite version but I am not able to figure out how to install it on my Windows 8 machine. There isn't any .exe file in the downloaded folder when i extracted it.
Can anyone help me out with this please!
Thanks Already!
There is nothing to install really, since Siesta is just a web based tool (pure HTML, JS and CSS). Just extract into a web server and visit /examples and it will work. Getting started guide here: http://www.bryntum.com/docs/siesta/#!/guide/siesta_getting_started

Distributing TideSDK application

I recently finished an application based on Titanium, Javascript, HTML, CSS. I have only been a web designer to date so I have little experience in distributing applications. I was accustomed to the TiDev Community deploying app, which prepared the app for download and made it available for download at a given link.
But tidev community is no longer supported, so I use TideSDK Developer to package the app, which doesnt do all the hard work the other one did so nicely.
I am obviously a complete rookie to this.
Could anyone outline the steps I would need to take to go from the bundled application folder I have now (put together by TideSDK Developer), to a link that will allow customers to download and install the app or online? I know there is an issue with packaoging the app for platforms other than your own, and that appcelerator is working on a solution to this I think. I also realise I would probably have to pay to host the download online. Any guidance would be greatly appreciated.
You must use the tidebuilder.py script. to compile a installation package. To compile a binary for a Mac, you must run the script on a Mac, to compile a binary for windows, you must be on a windows box etc.
There is some documentation on how to use it here per platform. The command is very simple and works.
Once you have your application file (DMG for OSX or a MSI for Windows) then just distribute it however you see fit, email, putting it on your web server, whatever works for you.

how to install and getting start with webrtc on windows server

Hi could anyone to tell me how to install depot tools.I went through documentation and trying to install the webrtc in windows,I installed visual studio 2010 and some related stuff given in documentation still i am in confusion and many questions like why visual studio is required? are we have write code in visual studio?It acts like IDE for webrtc?
If not please tell me where we have to place our project in local file system and how to implement my first demo application..I found a video published by google demonstrating about webrtc in that they wrote code in a html file so is html file itself enough to develop.?
Though i have done a sample application in a html file still i am getting blank page and in console i am getting as UNCAUGHT EXCEPTION near navigator.webkitGetUserMedia() please help me out to know more about webrtc.
I suggest you start by watching the excellent videos about WebRTC from Justin Uberti and Cullen Jennings, and then (shameless self promotion) get to grips with the code and examples in Getting Started With WebRTC on HTML5 Rocks.
webrtc.org is the home of the WebRTC project -- lots of resources and demos there.
Just last month we released an open source project aimed to get developers into WebRTC fast and easy.
http://www.easyrtc.com/
It includes a cross-platform server kit which will run in Windows. Working demos are included.
I just built the webrtc solution using VS2010 by following this web pages instructions and NOT using cygwin. I had but one issue which to resolve required the manual copying of two files into the correct folder, you will know which two files should you see the names of these files and read the error, you will then know the expected location when the build fails.
Ultimately you will get a peerconnection_server.exe and a peerconnection_client.exe by way of sample. I was able to modify them easily.
Hope this helps. Be sure to install the prerequisites and follow the instructions to the letter.
As a clarification, the webrtc C++ library is one implementation you can use for the protocol. Another is using the webrtc implementation in a (very) modern web browser, such as Firefox or Chrome. Then, you'll just need HTML + JS, as per the articles in HTML5 Rocks.