Moved electron related stuff into app folder
This commit is contained in:
parent
b0a9021a02
commit
31f088f805
33 changed files with 18 additions and 18 deletions
|
|
@ -1,19 +0,0 @@
|
|||
const createDMG = require('electron-installer-dmg')
|
||||
const path = require('path')
|
||||
const package = require('../package.json');
|
||||
|
||||
var opts = {
|
||||
appPath: path.join(__dirname, '../release-builds/openflexure-ev-darwin-x64/openflexure-ev.app'),
|
||||
name: package.productName,
|
||||
icon: path.join(__dirname, '../icons/mac/icon.icns'),
|
||||
out: path.join(__dirname, '../release-builds/dist', package.version)
|
||||
}
|
||||
|
||||
createDMG(opts, function done (err) {
|
||||
if (err) {
|
||||
console.log(`Error creating dmg: ${err}`)
|
||||
}
|
||||
else {
|
||||
console.log("Done")
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue