Skip to content

Commit

Permalink
Added electron-builder.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedieaston authored Aug 31, 2021
1 parent 0bcf171 commit 6bb1d49
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 44 deletions.
56 changes: 56 additions & 0 deletions electron-builder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

const config = {
appId: "im.hmt.report.schild",
productName: "schild.report",
artifactName: "schild.report.${ext}",
buildVersion: `2.5.${process.env.GITHUB_RUN_NUMBER}`,
copyright: `Copyright ${process.env.THE_AUTHOR}`,
extraMetadata: {
author: {
name: `${process.env.THE_AUTHOR}`,
email: `${process.env.THE_EMAIL}`
}
},
files: [
"./build/**/*"
],
win: {
icon: "icons/icon.ico",
target: "msi"
},
linux: {
icon: "icons/icon.png",
category: "app.tools",
executableName: "schild.report",
target: [
"AppImage",
"snap",
"deb",
"rpm"
]
},
mac: {
icon: "icons/icon.icns",
target: "dmg"
},
dmg: {
icon: "icons/icon.icns",
contents: [
{
x: 130,
y: 220
},
{
x: 550,
y: 22,
type: "link",
path: "/Applications"
}
],
window: {
width: 680,
height: 42
}
}
}
module.exports = config
44 changes: 0 additions & 44 deletions electron-builder.yml

This file was deleted.

0 comments on commit 6bb1d49

Please sign in to comment.