Skip to content

Instantly share code, notes, and snippets.

@scotthansonde
Created January 15, 2022 11:36
Show Gist options
  • Select an option

  • Save scotthansonde/a278ee35a96a48d0b1980f3d1c4df008 to your computer and use it in GitHub Desktop.

Select an option

Save scotthansonde/a278ee35a96a48d0b1980f3d1c4df008 to your computer and use it in GitHub Desktop.
{
"productName": "Electric Drummer",
"electronVersion": "7.1.10",
"mac": {
"target": "dmg",
"identity": null,
"icon": "../drummer.icns"
},
"dmg": {
"sign": false
},
"win": {
"target": "nsis",
"icon": "../drummer512.png"
},
"linux": {
"target": ["deb", "snap"],
"category": "Utilities"
}
}
@scotthansonde
Copy link
Copy Markdown
Author

scotthansonde commented Jan 15, 2022

An initial electron-builder configuration for Drummer. "identity: null" is to prevent signing the binary on Mac. Everything else should be clear. image

electron-builder expects icons to be in a 'build' folder. I didn't feeling like making a new folder, so the icon entries point to the root directory of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment