AppStudio 7.3.0 released!


#1

We’re pleased to announce that 7.3.0 has been released.

The major new feature is integration with Nodejs and Electron. With these, you can now build standalone apps for Windows, MacOS and Linux.

Node integration also opens up the npm directory of modules which can be included in your app - over 750,000 of them at last count!

49%20PM
Here’s what is new and fixed in the new release:

  1. AppStudio can now build native apps for Windows, MacOS and Linux.
  2. Node and npm can now be used. Over 750,000 modules available.
  3. Electron support added.
  4. BS: Input icon can now be clicked on.
  5. BS3: Updated to Bootstrap 3.4.1
  6. BS4: Switch.text can be used to get and set text of switch.
  7. BS4: Updated to Bootstrap 4.3.1
  8. Docs: Using Node and Electron to build Desktop Apps
  9. Project Explorer: Allow files in project root to be dragged into Project Explorer.
  10. Run: Make Windows Executable (EXE) has been removed.
  11. Run: Package for Distribution using Electron has been added.
  12. Runtime: FastClick has been turned off.
  13. Samples: BS3 Hamburger: Label was hiding Hamburger.
  14. Samples: execPython removed.
  15. Samples: New ElectronWeather sample.
  16. Windows: installer rebuilt using pyInstaller 3.4

The easiest way to get the update is on the Help menu – “Check for Updates…”


#2

With the electron weather sample, error: failed to parse json.npm-debug.log (2.0 KB)

Bernd


#3

Can you show your complete package.json file? It looks like there is a syntax error in it.


#4

It is a pure exact copy and paste from wiki:

"scripts": {
    "start": "electron ."
 },

(json file could not be uploaded here)

There were errors before, with
npm install weather-js
npm install electron
npm install electron-packager

electron did not install. I installed electron-packager and afterwards repeated npm install electron in a newly opened command line window. Seemed to be OK now.


#5

BTW: I forgot where it was that upper-case letters like Abc.Def were not accepted. So I modified to lower case.


#6

The earlier errors are of great interest: what did you get when you did

npm install weather.js

This command, when it is successful, should update package.json.


#7

Here is what should be in package.json after step 6:

{
  "name": "electronweather.appstudio",
  "version": "1.0.0",
  "description": "",
  "main": "electronMain.js",
  "scripts": {
    "start": "electron ."
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "electron": "^4.0.5",
    "electron-packager": "^13.1.0",
    "weather-js": "^2.0.0"
  }
}

#8

Seems that I missed step 6. Running now.