Added electron-builder to project to build the app and installers
This commit is contained in:
parent
62702cf741
commit
5585a638eb
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,3 +7,6 @@ public/
|
||||
# SASS cache files
|
||||
.sass-cache/
|
||||
|
||||
# Build artifacts
|
||||
dist/
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
var pkg = grunt.file.readJSON('package.json')
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
|
||||
sass: {
|
||||
dist: {
|
||||
options: {
|
||||
|
BIN
build/icon.png
Normal file
BIN
build/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 749 KiB |
4030
package-lock.json
generated
4030
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@ -1,23 +1,23 @@
|
||||
{
|
||||
"name": "electron-quick-start",
|
||||
"version": "1.0.0",
|
||||
"description": "A minimal Electron application",
|
||||
"name": "archon",
|
||||
"version": "0.1.0",
|
||||
"description": "LDAP user and group manager",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron ."
|
||||
"start": "electron .",
|
||||
"build": "electron-builder build --win --linux"
|
||||
},
|
||||
"repository": "https://github.com/electron/electron-quick-start",
|
||||
"keywords": [
|
||||
"Electron",
|
||||
"quick",
|
||||
"start",
|
||||
"tutorial",
|
||||
"demo"
|
||||
"LDAP",
|
||||
"user",
|
||||
"group"
|
||||
],
|
||||
"author": "GitHub",
|
||||
"license": "CC0-1.0",
|
||||
"author": "Gregory Ballantine <gballantine@metaunix.net>",
|
||||
"license": "BSD-2-Clause",
|
||||
"devDependencies": {
|
||||
"electron": "^18.2.4",
|
||||
"electron-builder": "^23.0.3",
|
||||
"grunt": "^1.5.3",
|
||||
"grunt-contrib-coffee": "^2.1.0",
|
||||
"grunt-contrib-copy": "^1.0.0",
|
||||
@ -26,5 +26,23 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"ldapjs": "^2.3.2"
|
||||
},
|
||||
"build": {
|
||||
"appId": "net.metaunix.archon",
|
||||
"copyright": "Copyright © 2022 ${author}",
|
||||
"win": {
|
||||
"target": "msi",
|
||||
"icon": "build/icon.png"
|
||||
},
|
||||
"linux": {
|
||||
"target": ["deb", "rpm"],
|
||||
"icon": "build/icon.png"
|
||||
},
|
||||
"deb": {
|
||||
"category": "internet"
|
||||
},
|
||||
"rpm": {
|
||||
"packageCategory": "internet"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user