Skip to content

Commit

Permalink
build: use builder yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Dec 1, 2023
1 parent f0ca30a commit 9cf1a8c
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ app.spec
*.pyc
src/.DS_Store
.DS_Store
electron-builder.yml
website/.eslintcache
website/images-bhavesh/~$suggestions.pptx
website/package-lock.json
Expand Down
60 changes: 60 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
appId: com.fairdataihub.sodaforsparc
productName: SODA-for-SPARC
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!src/main/*'
- '!src/renderer/*'
- '!src/preload/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
asarUnpack:
- resources/**
win:
executableName: react
extraResources:
- from: ./file_templates
to: ./file_templates
- from: ./pyflaskdist/app.exe
to: ./pyflaskdist/app.exe
asar: true
target:
- nsis
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
entitlementsInherit: ./entitlements.mac.plist
notarize: true
extraResources:
- from: ./pyflaskdist/app
- from: ./file_templates
to: ./file_templates
- from: ./pennsieve-io-chain.pem
to: ./pennsieve-io-chain.pem
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
extraResources:
- from: ./pyflaskdist/app
- from: ./file_templates
to: ./file_templates
- from: ./pennsieve-io-chain.pem
to: ./pennsieve-io-chain.pem
asar: true
maintainer: electronjs.org
category: Utility
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
- provider: github
protocol: https
afterSign: ./notarize.js

0 comments on commit 9cf1a8c

Please sign in to comment.