Skip to content

Commit ac59b99

Browse files
committed
Fix CI builds for Windows and macOS
- Drop Windows appx target: requires MS Store signing creds CI lacks, causing the release workflow to fail. - Clean up macOS DMG signing: set identity:null, hardenedRuntime:false, gatekeeperAssess:false, dmg.sign:false. Prevents the quarantine "AutoNote.app is damaged and can't be opened" error on install. - Fix mac.target to use array form (was a bare object). - Bump version 0.11.0 → 0.12.0 to match release tag.
1 parent bfd4f04 commit ac59b99

1 file changed

Lines changed: 18 additions & 16 deletions

File tree

electron/package.json

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auto-note",
3-
"version": "0.11.0",
3+
"version": "0.12.0",
44
"description": "AutoNote — lecture notes generator from Canvas recordings",
55
"homepage": "https://github.com/nodeeeeee/Auto-Note",
66
"author": {
@@ -44,29 +44,31 @@
4444
}
4545
},
4646
"win": {
47-
"target": ["nsis", "appx"],
48-
"icon": "../assets/icon.ico"
47+
"target": ["nsis"],
48+
"icon": "../assets/icon.ico",
49+
"signAndEditExecutable": false
4950
},
5051
"nsis": {
5152
"createDesktopShortcut": true,
5253
"createStartMenuShortcut": true,
5354
"shortcutName": "AutoNote",
5455
"include": "build/uninstaller.nsh"
5556
},
56-
"appx": {
57-
"displayName": "AutoNote",
58-
"identityName": "AutoNote",
59-
"publisher": "CN=nodeeeeee",
60-
"publisherDisplayName": "nodeeeeee",
61-
"applicationId": "AutoNote",
62-
"languages": ["en-US", "zh-CN"]
63-
},
6457
"mac": {
65-
"target": {
66-
"target": "dmg",
67-
"arch": ["x64", "arm64"]
68-
},
69-
"icon": "../assets/icon.icns"
58+
"target": [
59+
{
60+
"target": "dmg",
61+
"arch": ["x64", "arm64"]
62+
}
63+
],
64+
"icon": "../assets/icon.icns",
65+
"identity": null,
66+
"hardenedRuntime": false,
67+
"gatekeeperAssess": false
68+
},
69+
"dmg": {
70+
"writeUpdateInfo": false,
71+
"sign": false
7072
},
7173
"extraResources": [
7274
{

0 commit comments

Comments
 (0)