-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·81 lines (81 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·81 lines (81 loc) · 2.15 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
{
"name": "fansone-desktop",
"version": "1.0.10",
"description": "FansOne desktop downloader",
"main": "src/main.js",
"scripts": {
"test": "node --check src/main.js && node --check src/preload.cjs",
"start": "ELECTRON_DISABLE_SANDBOX=true node node_modules/electron/cli.js --no-sandbox --disable-gpu .",
"dev": "ELECTRON_DISABLE_SANDBOX=true node node_modules/electron/cli.js --no-sandbox --disable-gpu .",
"start:win": "electron .",
"dist:win": "electron-builder --win nsis portable --x64",
"dist:win:portable": "electron-builder --win portable --x64",
"dist:win:installer": "electron-builder --win nsis --x64"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"axios": "^1.16.1",
"dayjs": "^1.11.21",
"ffmpeg-static": "^5.3.0",
"got": "^15.0.5",
"p-queue": "^9.3.0"
},
"devDependencies": {
"electron": "^42.3.0",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "ai.openclaw.fansone-downloader",
"productName": "FansOneDownloader",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"package.json",
"node_modules/**/*",
"build/**/*"
],
"asar": true,
"asarUnpack": [
"node_modules/ffmpeg-static/**"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "FansOne Downloader",
"artifactName": "${productName}-${version}-${arch}-installer.${ext}",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico"
},
"forceCodeSigning": false,
"portable": {
"artifactName": "${productName}-${version}-${arch}-portable.${ext}"
},
"icon": "build/icon.png"
}
}