feat: electron build for linux

This commit is contained in:
Anoop M D 2022-10-17 22:17:03 +05:30
parent ad1824e473
commit 9fae7f72d4
3 changed files with 8 additions and 1 deletions

View File

@ -59,6 +59,7 @@ export const loadCollectionsFromIdb = () => (dispatch) => {
export const openLocalCollectionEvent = (uid, pathname) => (dispatch, getState) => { export const openLocalCollectionEvent = (uid, pathname) => (dispatch, getState) => {
const localCollection = { const localCollection = {
version: "1",
uid: uid, uid: uid,
name: path.basename(pathname), name: path.basename(pathname),
pathname: pathname, pathname: pathname,

View File

@ -22,3 +22,9 @@ mac:
hardenedRuntime: true hardenedRuntime: true
entitlements: resources/entitlements.mac.plist entitlements: resources/entitlements.mac.plist
entitlementsInherit: resources/entitlements.mac.plist entitlementsInherit: resources/entitlements.mac.plist
linux:
artifactName: ${name}_${version}_${arch}_linux.${ext}
icon: resources/icons/png
target:
- AppImage
- deb

View File

@ -19,4 +19,4 @@ sed -i'' -e 's@/_next/@_next/@g' packages/bruno-electron/web/**.html
# Remove sourcemaps # Remove sourcemaps
find packages/bruno-electron/web -name '*.map' -type f -delete find packages/bruno-electron/web -name '*.map' -type f -delete
npm run pack-app --workspace=packages/bruno-electron npm run dist --workspace=packages/bruno-electron