Skip to content

Commit

Permalink
feat: added electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Apr 26, 2024
1 parent 63446da commit 31dfcca
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 16 deletions.
15 changes: 13 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
appId: com.blibla.captain
productName: Captain
copyright: Copyright © 2024 Blibla

directories:
output: dist
buildResources: resources

files:
- from: .
filter:
Expand All @@ -13,15 +15,24 @@ files:
- resources/actions/**/*
- resources/7zip/**/*
- resources/icon.png
publish: null

publish:
provider: github
repo: captain-test
owner: blib-la
private: false

nsis:
oneClick: false
allowToChangeInstallationDirectory: true
artifactName: "${productName}-Setup-${version}.${ext}"
# include: build/installer.nsh

asar: true
asarUnpack:
- "resources/python/**/*"
- "resources/actions/**/*"
- "resources/7zip/**/*"
- "resources/icon.png"

win:
publisherName: Blibla
63 changes: 49 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"electron-dl": "3.5.2",
"electron-serve": "1.3.0",
"electron-store": "^8.2.0",
"electron-updater": "^6.1.8",
"onnxruntime-node": "^1.17.0",
"sharp": "0.33.2"
},
Expand Down

0 comments on commit 31dfcca

Please sign in to comment.