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 files
|
||||||
.sass-cache/
|
.sass-cache/
|
||||||
|
|
||||||
|
# Build artifacts
|
||||||
|
dist/
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
|
var pkg = grunt.file.readJSON('package.json')
|
||||||
|
|
||||||
// Project configuration.
|
// Project configuration.
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
pkg: grunt.file.readJSON('package.json'),
|
|
||||||
|
|
||||||
sass: {
|
sass: {
|
||||||
dist: {
|
dist: {
|
||||||
options: {
|
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",
|
"name": "archon",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"description": "A minimal Electron application",
|
"description": "LDAP user and group manager",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron ."
|
"start": "electron .",
|
||||||
|
"build": "electron-builder build --win --linux"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/electron/electron-quick-start",
|
"repository": "https://github.com/electron/electron-quick-start",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Electron",
|
"LDAP",
|
||||||
"quick",
|
"user",
|
||||||
"start",
|
"group"
|
||||||
"tutorial",
|
|
||||||
"demo"
|
|
||||||
],
|
],
|
||||||
"author": "GitHub",
|
"author": "Gregory Ballantine <gballantine@metaunix.net>",
|
||||||
"license": "CC0-1.0",
|
"license": "BSD-2-Clause",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^18.2.4",
|
"electron": "^18.2.4",
|
||||||
|
"electron-builder": "^23.0.3",
|
||||||
"grunt": "^1.5.3",
|
"grunt": "^1.5.3",
|
||||||
"grunt-contrib-coffee": "^2.1.0",
|
"grunt-contrib-coffee": "^2.1.0",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
@ -26,5 +26,23 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ldapjs": "^2.3.2"
|
"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