-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(app): make multi-repo and build using electron-builder
Related to #787
- Loading branch information
Showing
17 changed files
with
5,449 additions
and
2,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
app/node_modules/ | ||
client/node_modules/ | ||
distro/ | ||
docs/ | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
'use strict'; | ||
|
||
var getAppVersion = require('./util/get-version'); | ||
|
||
var app = require('./lib'); | ||
|
||
app.developmentMode = true; | ||
|
||
app.version = getAppVersion(require('./package'), { | ||
nightly: 'dev' | ||
}); | ||
|
||
|
||
if (!global.metaData) { | ||
global.metaData = {}; | ||
} | ||
|
||
global.metaData.version = app.version; | ||
|
||
// make sure the app quits and does not hang | ||
app.on('before-quit', function() { | ||
app.exit(0); | ||
}); | ||
|
||
app.on('app:window-created', function() { | ||
app.menu.rebuild(); | ||
}); | ||
|
||
try { | ||
require('electron-reloader')(module); | ||
} catch (err) { | ||
console.log(err); | ||
// ignore it | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "camunda-modeler", | ||
"version": "1.14.0", | ||
"description": "Camunda Modeler for BPMN, DMN and CMMN, based on bpmn.io", | ||
"private": true, | ||
"main": "lib/index.js", | ||
"author": { | ||
"name": "camunda Services GmbH", | ||
"email": "info@camunda.com", | ||
"url": "https://camunda.com" | ||
}, | ||
"devDependencies": { | ||
"electron-reload": "^1.2.2" | ||
}, | ||
"dependencies": { | ||
"form-data": "^2.3.1", | ||
"glob": "^7.0.3", | ||
"got": "^8.0.3", | ||
"inherits": "^2.0.1", | ||
"min-dash": "^3.0.0", | ||
"parents": "^1.0.1" | ||
}, | ||
"homepage": "https://github.com/camunda/camunda-modeler", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/camunda/camunda-modeler" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.