Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.09 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.09 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
{
"name": "study-answer-helper",
"productName": "学习通答题助手",
"version": "1.4.0",
"description": "A large input box plus global hotkey / auto-trigger tool that types your answers into Xuexitong (Chaoxing) character by character, with a built-in answer search (local bank / web / AI).",
"main": "src/main/main.js",
"license": "MIT",
"author": "Xu",
"private": true,
"scripts": {
"start": "electron .",
"start:safe": "electron . --no-sandbox --disable-gpu --disable-software-rasterizer",
"icons": "node tools/make-icons.js",
"build": "electron-builder --win",
"build:dir": "electron-builder --win --dir"
},
"devDependencies": {
"electron": "32.3.3",
"electron-builder": "^26.15.3"
},
"dependencies": {
"koffi": "^3.3.1"
},
"build": {
"appId": "com.xu.studyanswerhelper",
"productName": "学习通答题助手",
"copyright": "Copyright © 2026 Xu",
"directories": {
"output": "dist-installer-v8",
"buildResources": "assets"
},
"files": [
"src/**/*",
"assets/**/*",
"tools/**/*",
"package.json",
"node_modules/**/*"
],
"asar": true,
"asarUnpack": [
"src/main/engine/**",
"src/main/lib/ocr-win.ps1",
"src/main/lib/option-click-win.ps1",
"src/main/lib/uia-tool-win.ps1",
"tools/**/*.ps1",
"node_modules/koffi/**",
"node_modules/@koromix/**",
"assets/**"
],
"npmRebuild": false,
"win": {
"target": [
{ "target": "nsis", "arch": ["x64"] },
{ "target": "portable", "arch": ["x64"] }
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "学习通答题助手",
"installerLanguages": ["zh_CN"],
"language": "2052",
"deleteAppDataOnUninstall": false,
"artifactName": "StudyAnswerHelper-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "StudyAnswerHelper-Portable-${version}.${ext}"
}
}
}