removing electron config

This commit is contained in:
Martin McKeaveney 2021-05-24 22:39:13 +01:00
parent db46750ce5
commit 5c60629545
3 changed files with 2 additions and 28 deletions

View File

@ -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"
},

View File

@ -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`
)
})
})

View File

@ -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",