insomnia/packages/insomnia-app/config/electronbuilder.json
Filipe Freire d985f5f3be Recurring releases of insomnia app (INS-1429) (#4474)
* Update default electron-builder targetgs

* Allow setting a build ref

Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.

* Adds recurring release workflow

New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.

Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.

Co-Authored-By: David Marby <david@dmarby.se>

* Make recurring flow independent from Test flow

Co-Authored-By: David Marby <david@dmarby.se>

* Use setup-node@v2

Co-Authored-By: David Marby <david@dmarby.se>

* Update .github/workflows/release-recurring.yml

Co-authored-by: David Marby <david@dmarby.se>

* It's always the single quotes 🙏 😚

* Use bash shell

* Disable fail-fast

* Add cancel-in-progress setting to recurring releases

If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.

Co-Authored-By: David Marby <david@dmarby.se>

* Change concurrency setting to workflow level

Co-Authored-By: David Marby <david@dmarby.se>

Co-authored-by: David Marby <david@dmarby.se>
2022-03-01 15:18:47 +01:00

90 lines
1.7 KiB
JSON

{
"appId": "__APP_ID__",
"publish": null,
"afterSign": "./scripts/afterSignHook.js",
"extraResources": [
{
"from": "./bin",
"to": "./bin",
"filter": "yarn-standalone.js"
},
{
"from": "./build",
"to": ".",
"filter": "opensource-licenses.txt"
}
],
"protocols": [
{
"name": "Insomnia",
"role": "Viewer",
"schemes": [
"insomnia"
]
}
],
"fileAssociations": [],
"directories": {
"buildResources": "build",
"app": "build",
"output": "dist"
},
"mac": {
"hardenedRuntime": true,
"category": "public.app-category.developer-tools",
"entitlements": "./build/static/entitlements.mac.inherit.plist",
"artifactName": "__BINARY_PREFIX__-${version}.${ext}",
"target": [
"dmg",
"zip"
],
"extendInfo": {
"NSRequiresAquaSystemAppearance": false
}
},
"dmg": {
"window": {
"width": 540,
"height": 380
},
"contents": [
{
"x": 130,
"y": 186
},
{
"x": 409,
"y": 186,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"squirrel",
"portable"
]
},
"squirrelWindows": {
"artifactName": "__BINARY_PREFIX__-${version}.${ext}",
"iconUrl": "__ICON_URL__"
},
"portable": {
"artifactName": "__BINARY_PREFIX__-${version}-portable.${ext}"
},
"linux": {
"artifactName": "__BINARY_PREFIX__-${version}.${ext}",
"executableName": "__EXECUTABLE_NAME__",
"synopsis": "__SYNOPSIS__",
"category": "Development",
"target": [
"AppImage",
"deb",
"tar.gz",
"rpm",
"snap"
]
}
}