From df4357f3b13e7d7f5265888aeb136d4afca6ef42 Mon Sep 17 00:00:00 2001 From: Stefan Dirix Date: Fri, 5 Jan 2024 13:20:39 +0100 Subject: [PATCH] fix: specify main entry for Electron (#192) Specifies the main entry of the Theia Electron application to use the bundled backend. This avoids the Theia CLI warning that the "main" entry is missing. --- templates/app-electron-package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/app-electron-package.json b/templates/app-electron-package.json index b7581e6..598b834 100644 --- a/templates/app-electron-package.json +++ b/templates/app-electron-package.json @@ -2,6 +2,7 @@ "private": true, "name": "<%= appMode %>-app", "version": "<%= params.version %>", + "main": "lib/backend/electron-main.js", "dependencies": { "@theia/core": "<%= params.theiaVersion %>", "@theia/editor": "<%= params.theiaVersion %>",