How to run an Electron .exe app on Linux? - linux

I'm trying to run an application build with Electron on Linux. They app maker offers an .exe installation file. So I figured I'd install it in WINE, but I seem to be missing something the app needs to run.
Since the install is an .exe, do I need WINE? And if I need WINE, what do I need to install to make the app work? I have tried two Electron apps, both only downloadable as a .exe install file.

Electron adds os native calls, so .exe files usually do not work. WINE is not able to emulate all of those calls, so if it isn't working for you, then you are out of luck I guess. Look for apps that offer linux versions, like https://www.electronjs.org/apps/camunda-modeler. If you have access to the repository, chances are they build it using electron-builder. You can just build it yourself with the command electron-builder build --linux in most cases

Related

Can I run .exe file on Heroku?

I am building a node app that has a function that requires running an .exe file. I am using the .exe because it was the only was I was able to get my my legacy fortran code to compile (through intel visual fortran). Will I be able to get my app to run through heroku, and if so, is there anything I need to do besides the basic deploy?
Thanks in advance.
I don't think Heroku has any windows servers.
As you have the Heroku CLI to enter into the machine where your app is running you can try using Wine (https://help.ubuntu.com/community/Wine) to run your exe.

How to Run JXCORE on windows

i want to create to desktop standalone app running on node.js.
After long search i found jxcore helps to build node.js native apps. I want to know how to install the jxcore. I have downloaded zip folder from jxcore site and unzip the folder it contains jx executable file. On running this nothing happens. how to install jxcore.
Why don't you download the Windows Setup from https://github.com/jxcore/jxcore-release ?
You should see it's label as given below;
Windows Setup (32/64/SM/V8) ....
Once you install it, you can open the terminal (Run->cmd) and type jx

Can I compile/package a Node-Webkit (NW.js) app into an exe for windows and a version for Linux?

I've looked on the Node-Webkit site and it appears to say that I can make an application with HTML5 and compile it for Windows, Linux of Mac so it will run without the need for the user to install Node.js separately. However, when I try their sample apps (e.g. https://github.com/leanote/desktop-app found on the official NW.js page: https://github.com/nwjs/nw.js/wiki/List-of-apps-and-companies-using-nw.js ), the ".exe" file does not run the app (on either Win 7 or XP). It just opens a simple browser window with the address "nw:blank" and a gray page says "NW.JS" and does nothing.
Can these apps be packaged and run without requiring the user to install node.js?
https://github.com/leanote/desktop-app 's nw folder is not the distribute leanote app, it's just the NW. You must build the desktop-app. The README has written How to build it, How to develop it
You can download the distributed version via: https://github.com/leanote/desktop-app/releases
You might try... node-webkit-builder ... which is supposed to build a huge .EXE file which is self-contained for you. Otherwise, the instructions for distributing... how to package and distribute, see Step 2b.

Cross-platform package a node.js app

So I have a Node.js app that runs on the command line.
I created a very simple GUI window in Qt which calls the Node.js command line program.
I can package up the Qt GUI with Qt Installer Framework.
It works great.
But it only works on my machine...
I need to:
install node.js on the user's computer. I don't want to rely on the "system" version of node.js and would prefer to have a "sandboxed" version of node.js somewhere in my application's directory. Also, user may not have any compilers installed...
run npm and install a couple of packages to the user's computer
needs to run on Mac/Windows/Linux
Am I being unrealistic here?

TideSDK app on Mac

I developed an app via TideSDK on OSX. I have a .app and It is working on OSX. However, you know it cannot work on linux or windows. I want to run my app on linux or windows. How can I do that?
In short, you package for each platform. As you are aware mac apps do not run on Windows and it is the same with TideSDK since you are creating something native for each platform.
TideSDK must be installed on each platform to create an executable and bundle for it.
To generate an installer for each system, you need to run commands on each system (windows / linux 32bit / linux 64bit) using tidebuilder.py on the command line.
We will have more to speak about concerning packaging quite soon that will make the task of building and distributing your apps easier. Stay tuned for updates !!

Resources