@neutralinojs/neu
Advanced tools
Changelog
v11.3.0
Developers can launch Neutralinojs from any programming language using child process APIs (i.e., subprocess
in Python) and communicate with the framework process using the extension API. The new hostProject
configuration object extends the official CLI to help developers easily create, run, and build these host projects. For example, the following host project configuration instructs the CLI to run a Node.js host project:
"hostProject": {
"projectPath": "/node-src",
"buildPath": "/node-src/dist/",
"initCommand": "npm install",
"devCommand": "npm start",
"buildCommand": "npm run build"
}
Community projects implement bindings and templates to create host projects using Node.js, Python, Go, etc. For example, the node-neutralino
NPM package lets you launch Neutralinojs via Node.js environments and execute native APIs via the NeutralinoApp
class:
import NeutralinoApp from 'node-neutralino';
const app = new NeutralinoApp({
url: '/',
windowOptions: {
enableInspector: false,
}
});
app.init();
app.window.setTitle('Node.js');
Now, the neu build
command automatically updates the executable file icon and metadata based on the following configuration options:
author
: gets written into executable's metadata.description
: gets written into executable's metadata.copyright
: gets written into executable's metadata. Defaults to current date + generic "all rights reserved".applicationName
: gets written into executable's metadata. Defaults to cli.binaryName
.applicationIcon
: a relative path to an icon in .png
format. Defaults to modes.window.icon
. If it is not set, uses Neutralinojs logo.Use the zip-lib
package to handle ZIP files for better performance and simplicity in the source code.
Changelog
v11.2.0
--clean
flag to the neu build
command to clean previous build files.cli.resourcesExclude
and cli.extensionsExclude
configuration properties. For example, now developers can use the "resourcesExclude": ".*\\.scss$|.*\\.d.ts$"
configuration to exclude *.scss
and *.d.ts
files from the final app bundle.cli.frontendLibrary.waitTimeout
configuration property.neu version
command now compares the installed CLI version and the framework version with the latest released versions and displays a warning messages if the users use an older versions.neu version
command now displays the (latest)
tag with CLI, binary, client library version details.neutralino.config.json
file before executing app-specific commands.Changelog
v11.1.0
cli.distributionPath
into the neutralino.config.json
file to customize the default dist
distribution directory.