-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.15 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 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
{
"name": "sable-desktop",
"productName": "Sable",
"version": "1.0.1",
"description": "An Electron based Desktop app for Sable",
"main": "src/main.js",
"author": "Finton <finton@finton.cc>",
"homepage": "https://sable.combust.ing",
"scripts": {
"start": "electron .",
"build": "electron-builder --mac --win --linux --x64 --arm64",
"pack": "electron-builder --dir"
},
"devDependencies": {
"electron": "^40.6.0",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "ing.combust.sable",
"productName": "Sable",
"directories": {
"output": "dist"
},
"extraResources": [
{ "from": "src/assets/", "to": "." }
],
"files": [
"src/**",
"package.json"
],
"win": {
"icon": "src/assets/favicon.png",
"target": [
{ "target": "nsis", "arch": ["x64", "arm64"] },
{ "target": "portable", "arch": ["x64", "arm64"] }
]
},
"nsis": {
"artifactName": "${productName}-Windows-${arch}-${version}-Installer.${ext}"
},
"portable": {
"artifactName": "${productName}-Windows-${arch}-${version}-Portable.${ext}"
},
"mac": {
"icon": "src/assets/icon.png",
"artifactName": "${productName}-macOS-${arch}-${version}.${ext}",
"target": [
{ "target": "dmg", "arch": ["x64", "arm64"] },
{ "target": "zip", "arch": ["x64", "arm64"] }
],
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"extendInfo": {
"NSCameraUsageDescription": "Sable needs camera access for video calls.",
"NSMicrophoneUsageDescription": "Sable needs microphone access for voice and video calls.",
"NSScreenCaptureUsageDescription": "Sable needs screen recording access to share your screen and system audio."
}
},
"linux": {
"icon": "src/assets/favicon.png",
"artifactName": "${productName}-Linux-${arch}-${version}.${ext}",
"target": [
{ "target": "AppImage", "arch": ["x64", "arm64"] },
{ "target": "deb", "arch": ["x64", "arm64"] }
],
"category": "Chat"
}
}
}