Skip to content

Commit

Permalink
Update package.json and electron builder config
Browse files Browse the repository at this point in the history
  • Loading branch information
SRichner committed Feb 16, 2024
1 parent 033c8bf commit 0e9b479
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
24 changes: 7 additions & 17 deletions src/electron/electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
'dist',
'dist-electron'
],
publish: {
provider: "github",
owner: "HASEL-UZH",
repo: "PersonalAnalytics",
},
mac: {
target: [
'dmg'
],
artifactName: '${productName}-Mac-${version}-Installer.${ext}',
publish: {
provider: "github",
owner: "HASEL-UZH",
repo: "PersonalAnalytics",
}
artifactName: '${productName}-Mac-${version}-Installer.${ext}'
},
win: {
target: [
Expand All @@ -33,12 +33,7 @@
]
}
],
artifactName: '${productName}-Windows-${version}-Setup.${ext}',
publish: {
provider: "github",
owner: "HASEL-UZH",
repo: "PersonalAnalytics",
}
artifactName: '${productName}-Windows-${version}-Setup.${ext}'
},
nsis: {
oneClick: false,
Expand All @@ -51,10 +46,5 @@
'AppImage'
],
artifactName: '${productName}-Linux-${version}.${ext}',
publish: {
provider: "github",
owner: "HASEL-UZH",
repo: "PersonalAnalytics",
}
}
}
4 changes: 4 additions & 0 deletions src/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"lint:fix": "eslint --fix . --ext .js,.jsx,.ts,.tsx,.vue",
"format": "prettier --write ."
},
"repository": {
"type": "git",
"url": "https://github.com/HASEL-UZH/PersonalAnalytics"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.7.2",
"@typescript-eslint/eslint-plugin": "^6.20.0",
Expand Down

0 comments on commit 0e9b479

Please sign in to comment.