ElectronPackageId seems to be mapped to: (according to the wiki) multiple items from electron builder config that should be separate values. I may be confused on this point though but this is what the wiki implies.
This is problematic. For instance Apple wants the appId value to conform to
com.companyname.appname
{
"name": "$(ElectronPackageId)", <== HERE
"productName": "$(ElectronTitle)",
"build": {
"appId": "$(ElectronPackageId)", <== HERE
"linux": {
"desktop": {
"entry": { "Name": "$(Title)" }
},
"executableName": "$(ElectronPackageId)" <== HERE
},
"deb": {
"desktop": {
"entry": { "Name": "$(Title)" }
}
}
},
"description": "$(Description)",
"version": "$(Version)",
"main": "main.js",
"author": {
"name": "$(Company)"
},
"license": "$(License)",
"executable": "$(TargetName)",
"singleInstance": "$(ElectronSingleInstance)",
"homepage": "$(ProjectUrl)",
"splashscreen": {
"imageFile": "$(ElectronSplashScreen)"
}
}