Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Can we make deb installer ?

Open mazm786 opened this issue 3 years ago • 4 comments

Can we make deb installer ? What changes in json file and which?

mazm786 avatar Apr 12 '22 11:04 mazm786

Yes, look up the json structure in the electron-builder documentation. I can post an example later.

danatcofo avatar Apr 12 '22 20:04 danatcofo

https://www.electron.build/configuration/linux.html

{
  "build": {
     "linux": {
        ... other linux generic properties
        "target": [ "deb", "rpm", "snap", "etc..."],
     },
    "deb": {
        ... deb specific properties
    }
  }
}

danatcofo avatar Apr 12 '22 21:04 danatcofo

https://www.electron.build/configuration/linux.html

{
  "build": {
     "linux": {
        ... other linux generic properties
        "target": [ "deb", "rpm", "snap", "etc..."],
     },
    "deb": {
        ... deb specific properties
    }
  }
}
  1. What are deb specific properties. Please Describe.
  2. From which version of Electron.Net version, Deb installer making feature is available ?

mazm786 avatar Apr 13 '22 06:04 mazm786

@mazm786 look it up. It's all documented in the link. I included the basic structure because the documentation in my mind is unclear on the basic structure of where the main linux and deb nodes live.

deb support is built into electron. Electron.NET inherits the functionality so we've had it from first release. electron-builder is the electron repo I linked to that performs the functionality of building an electron app/installer

by the way, that json structure for Electron.Net resides in the electron.manifest.json. We use that file as it acts as a template.

danatcofo avatar Apr 13 '22 13:04 danatcofo