Skip to content

Commit 65b793d

Browse files
authored
Merge pull request #28 from SimplyEdit/feature/mac-icon
Feature/mac icon
2 parents 344af20 + 5ac2ac8 commit 65b793d

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

forge.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ module.exports = {
1616
platforms: ['darwin'],
1717
config: {
1818
bin: 'simplycode',
19-
},
19+
icon: path.join(__dirname, './simplycode/assets/icons/icon.icns')
20+
}
2021
},
2122
{
2223
name: '@electron-forge/maker-deb',
@@ -46,5 +47,8 @@ module.exports = {
4647
prerelease: true
4748
}
4849
}
49-
]
50+
],
51+
packagerConfig: {
52+
icon: path.join(__dirname, './simplycode/assets/icons/icon.icns')
53+
}
5054
}

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,4 +545,4 @@ app.on('certificate-error', (event, webContents, url, error, certificate, callba
545545

546546
app.on('window-all-closed', () => {
547547
if (process.platform !== 'darwin') app.quit()
548-
})
548+
})

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,21 @@
3131
"@electron-forge/plugin-fuses": "^7.4.0",
3232
"@electron-forge/publisher-github": "^7.4.0",
3333
"@electron/fuses": "^1.8.0",
34-
"electron": "^30.0.9",
34+
"electron": "^37.1.0",
3535
"electron-installer-debian": "^3.0.0",
3636
"electron-installer-redhat": "^3.2.0"
3737
},
3838
"optionalDependencies": {
3939
"@electron-forge/maker-dmg": "^7.4.0",
4040
"appdmg": "^0.6.6",
41-
"electron-installer-dmg": "^4.0.0"
41+
"electron-installer-dmg": "^5.0.1"
4242
},
4343
"dependencies": {
44-
"codemirror": "5.65.2",
44+
"codemirror": "^6.0.2",
4545
"electron-squirrel-startup": "^1.0.1",
46-
"simplyedit": "github:simplyedit/simplyedit",
46+
"node-abi": "^4.11.0",
4747
"simplycode": "github:simplyedit/simplycode",
48+
"simplyedit": "github:simplyedit/simplyedit",
4849
"simplyview": "github:simplyedit/simplyview"
4950
},
5051
"config": {

simplycode/assets/icons/icon.png

127 KB
Loading
102 KB
Loading

0 commit comments

Comments
 (0)