Skip to content

Commit df4357f

Browse files
authored
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.
1 parent 0cebfc3 commit df4357f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/app-electron-package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"private": true,
33
"name": "<%= appMode %>-app",
44
"version": "<%= params.version %>",
5+
"main": "lib/backend/electron-main.js",
56
"dependencies": {
67
"@theia/core": "<%= params.theiaVersion %>",
78
"@theia/editor": "<%= params.theiaVersion %>",

0 commit comments

Comments
 (0)