Skip to content

Commit 2419023

Browse files
committed
More Security Updates
- Fixed md viewer - Hopefully fixing issues with mac
1 parent eabefd0 commit 2419023

File tree

4 files changed

+1096
-415
lines changed

4 files changed

+1096
-415
lines changed

build/entitlements.mac.plist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-jit</key>
6+
<true/>
7+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
8+
<true/>
9+
<key>com.apple.security.cs.disable-library-validation</key>
10+
<true/>
11+
</dict>
12+
</plist>

package.json

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "monolith-code",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "minimalistic coder editor",
55
"homepage": "https://haeri.github.io/monolith-code/",
66
"main": "main.js",
@@ -16,17 +16,17 @@
1616
"author": "Haeri",
1717
"license": "MIT",
1818
"devDependencies": {
19-
"electron": "^31.7.7",
20-
"electron-builder": "^24.13.3",
21-
"eslint": "^7.32.0",
22-
"eslint-config-airbnb-base": "^14.2.1",
19+
"electron": "^39.2.3",
20+
"electron-builder": "^26.0.12",
21+
"eslint": "^9.39.1",
22+
"eslint-config-airbnb-base": "^15.0.0",
2323
"eslint-plugin-import": "^2.32.0"
2424
},
2525
"dependencies": {
2626
"electron-updater": "^6.6.2",
27-
"highlight.js": "^10.7.3",
27+
"highlight.js": "^11.11.1",
2828
"katex": "^0.16.25",
29-
"marked": "^4.3.0",
29+
"marked": "^17.0.1",
3030
"tree-kill": "^1.2.2"
3131
},
3232
"build": {
@@ -41,7 +41,12 @@
4141
"linux": {
4242
"category": "Utility"
4343
},
44-
"mac": {},
44+
"mac": {
45+
"hardenedRuntime": true,
46+
"gatekeeperAssess": false,
47+
"entitlements": "build/entitlements.mac.plist",
48+
"entitlementsInherit": "build/entitlements.mac.plist"
49+
},
4550
"nsis": {
4651
"oneClick": false,
4752
"perMachine": true

0 commit comments

Comments
 (0)