-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "windows-balance-demo",
"version": "2.0.0",
"private": true,
"author": "Cute-chen",
"homepage": "https://github.com/Cute-chen",
"description": "Tray balance app for AiCodeMirror (Windows/macOS)",
"main": "main.js",
"scripts": {
"start": "electron --no-sandbox --disable-gpu-sandbox .",
"build:win": "npm run build:win:x64 && npm run build:win:arm64",
"build:win:x64": "electron-builder --win nsis --x64",
"build:win:arm64": "electron-builder --win nsis --arm64",
"build:mac": "npm run build:mac:x64 && npm run build:mac:arm64",
"build:mac:x64": "electron-builder --mac dmg --x64",
"build:mac:arm64": "electron-builder --mac dmg --arm64"
},
"devDependencies": {
"electron": "^41.5.0",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "com.aicodemirror.balance.tray",
"productName": "AICM v2.0",
"copyright": "Copyright © Cute-chen",
"artifactName": "AICM-v2.0-${os}-${arch}.${ext}",
"files": [
"main.js",
"preload.js",
"panel.html",
"opacity.html",
"panel.css",
"panel.js",
"tray.ico",
"trayTemplate.png",
"icon.ico",
"icon.icns",
"icon-master.png",
"favicon.ico",
"package.json"
],
"directories": {
"output": "dist"
},
"mac": {
"icon": "icon.icns",
"category": "public.app-category.finance",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"icon": "icon.ico",
"publisherName": "Cute-chen",
"executableName": "AICM v2.0",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"arm64"
]
}
]
},
"nsis": {
"installerIcon": "icon.ico",
"uninstallerIcon": "icon.ico",
"installerHeaderIcon": "icon.ico",
"shortcutName": "AICM v2.0",
"uninstallDisplayName": "AICM v2.0",
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}