Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Open devtools only in debug
Hakan Shehu31220e946b16
diff --git a/desktop/src/main.ts b/desktop/src/main.tsindex 2271caf6..7474e8a8 100644--- a/desktop/src/main.ts+++ b/desktop/src/main.ts@@ -40,7 +40,9 @@ const createWindow = async () => {}// Open the DevTools.- mainWindow.webContents.openDevTools();+ if (MAIN_WINDOW_VITE_DEV_SERVER_URL) {+ mainWindow.webContents.openDevTools();+ }subscriptionId = eventBus.subscribe((event) => {mainWindow.webContents.send('event', event);