Обычно директора юзают % с прибыли
var MSICreator = require("electron-wix-msi").MSICreator;
var path = require( 'path');
async function start() {
// Step 1: Instantiate the MSICreator
const msiCreator = new MSICreator({
appDirectory: path.resolve('release/win-unpacked'), // result from electron-builder
description: 'My amazing Kitten simulator',
exe: 'kittens',
name: 'Kittens',
manufacturer: 'Kitten Technologies',
version: '1.1.2',
outputDirectory: path.resolve('release/msi/')
});
// Step 2: Create a .wxs template file
await msiCreator.create();
// Step 3: Compile the template to a .msi file
await msiCreator.compile();
}
start();
{
"name": "testmp",
"version": "1.0.0",
"description": "testpkg",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"testpkg",
"local",
"packages"
],
"author": "Vladimir N. Korotenko",
"license": "MIT",
"dependencies": {
"three-js": "^79.0.0"
}
}
Вот приятный фреймворк, который рвет практически всех.
https://mojolicious.org/perldoc/Mojo/UserAgent