electron-builder example for linux
See original GitHub issueI am trying to configure the electron-builder for Linux, but I get a error. For windows it is working. This is my package.json:
{
"name": "cic-nt",
"productName": "CICone NT",
"displayName": "CICone NT",
"version": "0.25.3-develop-build.0",
"description": "This is the base project for the CIC.Bas.Web project also called CIC One - New Technologies",
"author": "C.I.C Software GmbH",
"main": "main.electron.js",
"copyright": "CICone NT © ${author} 2018",
"build": {
"appId": "electron-builder.%npm_package_name%",
"directories": {
"output": "../electron-build"
},
"win": {
"asar": false,
"icon": "../src/assets/icon/nt-white.ico",
"publish": [
{
"provider": "generic",
"url": "https://se-dnexec.cic-software.de/ElectronUpdate/${os}/${channel}"
}
]
},
"linux": {
"icon": "../src/assets/icon/nt-white.ico",
"target": [
"deb"
],
"publish": [
{
"provider": "generic",
"url": "https://se-dnexec.cic-software.de/ElectronUpdate/${os}/${channel}"
}
]
}
},
"dependencies": {
"electron-updater": "^2.21.8"
}
}
And this is how I run it:
"package:electron:linux": "electron-builder --project=electron --linux deb --publish=always",
So what am I missing here ?
Error: Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: Please specify project homepage, see https://electron.build/configuration/configuration#Metadata-homepage
Please specify author 'email' in the application package.json
See https://docs.npmjs.com/files/package.json#people-fields-author-contributors
It is required to set Linux .deb package maintainer. Or you can set maintainer in the custom linux options.
(see https://www.electron.build/configuration/linux).
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Any Linux Target - electron-builder
The top-level apk , freebsd , pacman , p5p and rpm keys contains set of options instructing electron-builder on how it should build...
Read more >Build Instructions (Linux) - Electron
Follow the guidelines below for building Electron itself on Linux, for the purposes of creating custom Electron binaries. For bundling and distributing your...
Read more >Guide to Distributing Electron Apps For Linux
There are half a dozen different packages you can build for Linux, ... For example the Steam game store only officially supports Ubuntu....
Read more >Packaging and distributing Electron applications using ...
electron -builder is a CLI tool that helps us create multi-platform distributions for Electron applications. It supports macOS, Windows, and ...
Read more >build a Linux package from Windows using electron-builder
Electron : build a Linux package from Windows using electron-builder and Docker How to build an Electron App in a distributable format for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you need latest because to build linux on windows https://github.com/electron-userland/electron-build-service is used (HTTP 2 is required).
Thanks for the help. I already have Node v8.3.0. Is that not enough, do I need to install the version v8.11.1 ?