-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.78 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.78 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
{
"name": "yi-recorder",
"version": "1.1.0",
"main": "main.js",
"scripts": {
"start": "chcp 65001 && electron .",
"build-win": "electron-builder --win --x64 --publish=never"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"description": "一个基于Electron的轻量级屏幕录制应用",
"devDependencies": {
"@electron/packager": "^18.3.6",
"electron": "^28.1.0",
"electron-builder": "^24.13.3"
},
"dependencies": {
"ffmpeg-static": "^5.2.0"
},
"build": {
"appId": "cn.signit.yi-recorder",
"productName": "易录屏",
"directories": {
"output": "dist"
},
"win": {
"icon": "assets/logo.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-${version}.${ext}",
"sign": null,
"signingHashAlgorithms": null,
"signDlls": false,
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "易录屏",
"installerIcon": "assets/logo.ico",
"uninstallerIcon": "assets/logo.ico",
"installerHeaderIcon": "assets/logo.ico",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "${productName}-Portable-${version}.exe"
},
"asar": true,
"extraResources": [
{
"from": "assets",
"to": "assets"
},
{
"from": "node_modules/ffmpeg-static/ffmpeg.exe",
"to": "ffmpeg/ffmpeg.exe"
}
]
}
}