Skip to content

Commit c416d5a

Browse files
committed
Bring back file associations
1 parent dc898e8 commit c416d5a

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

app/electron-client/electron-builder-config.cjs

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ module.exports = {
5656
appId: 'org.enso',
5757
productName: 'Enso',
5858
extraMetadata: {
59-
version: '0.0.0-dev',
60-
installer: {},
59+
version: '0.0.0-dev', // FIXME: Replace with the actual version
60+
installer: {}, // FIXME: installer config
6161
},
62-
artifactName: artifactName('0.0.0-dev'),
62+
copyright: 'Copyright © 2025 New Byte Order sp. z o.o.',
63+
artifactName: artifactName('0.0.0-dev'), // FIXME: Replace with the actual artifact name
6364
protocols: [
6465
{
6566
name: 'Enso url',
@@ -71,7 +72,6 @@ module.exports = {
7172
target: 'dir',
7273
icon: './assets/icons/icon.icns',
7374
category: 'public.app-category.developer-tools',
74-
darkModeSupport: true,
7575
type: 'distribution',
7676
hardenedRuntime: true,
7777
gatekeeperAssess: false,
@@ -112,6 +112,20 @@ module.exports = {
112112
to: 'enso/runtime',
113113
},
114114
],
115+
fileAssociations: [
116+
{
117+
ext: '.enso',
118+
name: 'Enso Source File',
119+
role: 'Editor',
120+
mimeType: 'text/plain',
121+
},
122+
{
123+
ext: '.enso-project',
124+
name: 'Enso Project Bundle',
125+
role: 'Editor',
126+
mimeType: 'application/gzip',
127+
},
128+
],
115129
directories: {
116130
output: 'ide-dist',
117131
},
@@ -120,7 +134,6 @@ module.exports = {
120134
return false
121135
},
122136
npmRebuild: true,
123-
buildDependenciesFromSource: false,
124137
nodeGypRebuild: false,
125138
msi: {
126139
runAfterFinish: false,

0 commit comments

Comments
 (0)