Skip to content

Commit

Permalink
fix: specify main entry for Electron (#192)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sdirix committed Jan 5, 2024
1 parent 0cebfc3 commit df4357f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/app-electron-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>",
Expand Down

0 comments on commit df4357f

Please sign in to comment.