diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte
index 6235e744f8..c777f79666 100644
--- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte
+++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ColorPicker.svelte
@@ -1,38 +1,42 @@
diff --git a/packages/server/src/electron.js b/packages/server/src/electron.js
index f2770e1d49..9f10384b10 100644
--- a/packages/server/src/electron.js
+++ b/packages/server/src/electron.js
@@ -8,7 +8,7 @@ const initialiseBudibase = require("./utilities/initialiseBudibase")
const { budibaseAppsDir } = require("./utilities/budibaseDir")
const { openNewGitHubIssue, debugInfo } = require("electron-util")
const eventEmitter = require("./events")
-const isMac = process.platform === 'darwin';
+const isMac = process.platform === "darwin"
const budibaseDir = budibaseAppsDir()
const envFile = join(budibaseDir, ".env")
@@ -90,108 +90,109 @@ async function startApp() {
const template = [
// { role: 'appMenu' }
- ...(isMac ? [{
- label: app.name,
- submenu: [
- { role: 'about' },
- { type: 'separator' },
- { role: 'services' },
- { type: 'separator' },
- { role: 'hide' },
- { role: 'hideothers' },
- { role: 'unhide' },
- { type: 'separator' },
- { role: 'quit' }
- ]
- }] : []),
+ ...(isMac
+ ? [
+ {
+ label: app.name,
+ submenu: [
+ { role: "about" },
+ { type: "separator" },
+ { role: "services" },
+ { type: "separator" },
+ { role: "hide" },
+ { role: "hideothers" },
+ { role: "unhide" },
+ { type: "separator" },
+ { role: "quit" },
+ ],
+ },
+ ]
+ : []),
// { role: 'fileMenu' }
{
- label: 'File',
- submenu: [
- isMac ? { role: 'close' } : { role: 'quit' }
- ]
+ label: "File",
+ submenu: [isMac ? { role: "close" } : { role: "quit" }],
},
// { role: 'editMenu' }
{
- label: 'Edit',
+ label: "Edit",
submenu: [
- { role: 'undo' },
- { role: 'redo' },
- { type: 'separator' },
- { role: 'cut' },
- { role: 'copy' },
- { role: 'paste' },
- ...(isMac ? [
- { role: 'pasteAndMatchStyle' },
- { role: 'delete' },
- { role: 'selectAll' },
- { type: 'separator' },
- {
- label: 'Speech',
- submenu: [
- { role: 'startSpeaking' },
- { role: 'stopSpeaking' }
+ { role: "undo" },
+ { role: "redo" },
+ { type: "separator" },
+ { role: "cut" },
+ { role: "copy" },
+ { role: "paste" },
+ ...(isMac
+ ? [
+ { role: "pasteAndMatchStyle" },
+ { role: "delete" },
+ { role: "selectAll" },
+ { type: "separator" },
+ {
+ label: "Speech",
+ submenu: [{ role: "startSpeaking" }, { role: "stopSpeaking" }],
+ },
]
- }
- ] : [
- { role: 'delete' },
- { type: 'separator' },
- { role: 'selectAll' }
- ])
- ]
+ : [{ role: "delete" }, { type: "separator" }, { role: "selectAll" }]),
+ ],
},
// { role: 'viewMenu' }
{
- label: 'View',
+ label: "View",
submenu: [
- { role: 'reload' },
- { role: 'forceReload' },
- { role: 'toggleDevTools' },
- { type: 'separator' },
- { role: 'resetZoom' },
- { role: 'zoomIn' },
- { role: 'zoomOut' },
- { type: 'separator' },
- { role: 'togglefullscreen' }
- ]
+ { role: "reload" },
+ { role: "forceReload" },
+ { role: "toggleDevTools" },
+ { type: "separator" },
+ { role: "resetZoom" },
+ { role: "zoomIn" },
+ { role: "zoomOut" },
+ { type: "separator" },
+ { role: "togglefullscreen" },
+ ],
},
// { role: 'windowMenu' }
{
- label: 'Window',
+ label: "Window",
submenu: [
- { role: 'minimize' },
- { role: 'zoom' },
- ...(isMac ? [
- { type: 'separator' },
- { role: 'front' },
- { type: 'separator' },
- { role: 'window' }
- ] : [
- { role: 'close' }
- ])
- ]
+ { role: "minimize" },
+ { role: "zoom" },
+ ...(isMac
+ ? [
+ { type: "separator" },
+ { role: "front" },
+ { type: "separator" },
+ { role: "window" },
+ ]
+ : [{ role: "close" }]),
+ ],
},
{
- role: 'help',
+ role: "help",
submenu: [
{
- label: 'Learn More',
- click: () => shell.openExternal('https://www.budibase.com/')
+ label: "Learn More",
+ click: () => shell.openExternal("https://www.budibase.com/"),
},
{
- label: 'Documentation',
- click: () => shell.openExternal('https://docs.budibase.com/')
+ label: "Documentation",
+ click: () => shell.openExternal("https://docs.budibase.com/"),
},
{
- label: 'Search issues',
- click: () => shell.openExternal('https://github.com/Budibase/budibase/issues')
+ label: "Search issues",
+ click: () =>
+ shell.openExternal("https://github.com/Budibase/budibase/issues"),
},
{
- label: 'Community discussions',
- click: () => shell.openExternal('https://github.com/Budibase/budibase/discussions')
+ label: "Community discussions",
+ click: () =>
+ shell.openExternal(
+ "https://github.com/Budibase/budibase/discussions"
+ ),
},
- ]
- }
+ ],
+ },
]
const menu = Menu.buildFromTemplate(template)