From 5c60629545a465584febcbb51bb8e90aef2fd2ed Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 24 May 2021 22:39:13 +0100 Subject: [PATCH] removing electron config --- packages/server/package.json | 26 ------------------- .../server/src/api/routes/tests/row.spec.js | 2 +- packages/server/src/constants/index.js | 2 +- 3 files changed, 2 insertions(+), 28 deletions(-) diff --git a/packages/server/package.json b/packages/server/package.json index e76c4e4e4b..a8446bb76c 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -8,29 +8,6 @@ "type": "git", "url": "https://github.com/Budibase/budibase.git" }, - "build": { - "icon": "./build/icons/512x512.png", - "appId": "com.budibase.builder", - "productName": "Budibase Builder", - "afterSign": "electron-builder-notarize", - "mac": { - "icon": "./assets/icons/icon.icns", - "category": "public.app-category.developer-tools", - "hardenedRuntime": true - }, - "linux": { - "maintainer": "Budibase", - "icon": "./build/icons/", - "target": [ - "deb", - "AppImage" - ], - "category": "Development" - }, - "extraMetadata": { - "name": "Budibase Builder" - } - }, "scripts": { "test": "jest --testPathIgnorePatterns=routes && yarn run test:integration", "test:integration": "jest --coverage --detectOpenHandles", @@ -41,9 +18,6 @@ "dev:stack:down": "node scripts/dev/manage.js down", "dev:stack:nuke": "node scripts/dev/manage.js nuke", "dev:builder": "yarn run dev:stack:up && nodemon src/index.js", - "electron": "electron src/electron.js", - "build:electron": "electron-builder --dir", - "publish:electron": "electron-builder -mwl --publish always", "lint": "eslint --fix src/", "initialise": "node scripts/initialise.js" }, diff --git a/packages/server/src/api/routes/tests/row.spec.js b/packages/server/src/api/routes/tests/row.spec.js index f67d6254db..9d7413d6af 100644 --- a/packages/server/src/api/routes/tests/row.spec.js +++ b/packages/server/src/api/routes/tests/row.spec.js @@ -392,7 +392,7 @@ describe("/rows", () => { await setup.switchToSelfHosted(async () => { const enriched = await outputProcessing(config.getAppId(), table, [row]) expect(enriched[0].attachment[0].url).toBe( - `/prod-budi-app-assets/assets/${config.getAppId()}/attachment/test/thing.csv` + `/prod-budi-app-assets/${config.getAppId()}/attachment/test/thing.csv` ) }) }) diff --git a/packages/server/src/constants/index.js b/packages/server/src/constants/index.js index b4af7b29ee..7311162db8 100644 --- a/packages/server/src/constants/index.js +++ b/packages/server/src/constants/index.js @@ -103,7 +103,7 @@ exports.AutoFieldSubTypes = { AUTO_ID: "autoID", } -exports.OBJ_STORE_DIRECTORY = "/prod-budi-app-assets/assets" +exports.OBJ_STORE_DIRECTORY = "/prod-budi-app-assets" exports.BaseQueryVerbs = { CREATE: "create", READ: "read",