mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 08:53:30 +01:00
feat: electron build for linux
This commit is contained in:
parent
ad1824e473
commit
9fae7f72d4
@ -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,
|
||||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user