new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Electron · all subjects

packaging

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

ASAR format purpose for Windows performance

The ASAR format was created primarily to improve performance on Windows when reading large quantities of small files, such as when loading an app's JavaScript dependency tree from node_modules.

ASAR integrity security feature

ASAR integrity is a security feature that validates the contents of an app's ASAR archives at runtime. When enabled, the Electron app verifies the header hash of its ASAR archive on runtime. If no hash is present or if there is a mismatch in the hashes, the app will forcefully terminate.

DMG packaging format for macOS

An Apple Disk Image (DMG) is a packaging format used by macOS. DMG files are commonly used for distributing application installers.

MSI package format for Windows

On Windows, MSI packages are used by the Windows Installer (also known as Microsoft Installer) service to install and configure applications.

electron-rebuild rebuilds native addons for Electron version

Use npm run build-electron (with electron-rebuild) or npm run build (with node-gyp) to compile native addons. electron-rebuild is used for Electron-specific builds while node-gyp is for general Node.js builds.

process.noAsar property

process.noAsar is a boolean that controls ASAR support inside the application. Setting it to true will disable support for asar archives in Node's built-in modules.

Give your agent this brain