Skip to content

Commit

Permalink
Add todesktop runtime config to extra resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanger2000 committed Mar 29, 2023
1 parent 6f71d7c commit 5c03e9d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ module.exports = {
packagerConfig: {
name: 'Cursor',
icon: 'assets/icon/icon',
extraResource: ['./lsp', './resources', './tutor'],
extraResource: ['./lsp', './resources', './tutor', './todesktop-runtime-config.json'],
osxSign: {},
protocols: [
{
name: "Electron Fiddle",
schemes: ["electron-fiddle"]
}
]
},
rebuildConfig: {},
makers: [
Expand All @@ -23,6 +29,12 @@ module.exports = {
},
},
},
{
"name": "@electron-forge/maker-deb",
"config": {
"mimeType": ["x-scheme-handler/electron-fiddle"]
}
}
],
plugins: [
{
Expand Down

0 comments on commit 5c03e9d

Please sign in to comment.