70 lines
1.9 KiB
Plaintext
70 lines
1.9 KiB
Plaintext
// @see - https://www.electron.build/configuration/configuration
|
|
{
|
|
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
|
|
"appId": "com.siddharthvaddem.openscreen",
|
|
"asar": true,
|
|
"productName": "Openscreen",
|
|
"npmRebuild": true,
|
|
"buildDependenciesFromSource": true,
|
|
"compression": "normal",
|
|
"directories": {
|
|
"output": "release/${version}"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dist-electron",
|
|
"!*.png",
|
|
"!preview*.png",
|
|
"!*.md",
|
|
"!README.md",
|
|
"!CONTRIBUTING.md",
|
|
"!LICENSE"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "public/wallpapers",
|
|
"to": "assets/wallpapers"
|
|
}
|
|
],
|
|
|
|
"mac": {
|
|
"notarize": false,
|
|
"hardenedRuntime": true,
|
|
"entitlements": "macos.entitlements",
|
|
"entitlementsInherit": "macos.entitlements",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
],
|
|
"icon": "icons/icons/mac/icon.icns",
|
|
"artifactName": "${productName}-Mac-${arch}-${version}-Installer.${ext}",
|
|
"extendInfo": {
|
|
"NSAudioCaptureUsageDescription": "OpenScreen needs audio capture permission to record system audio.",
|
|
"NSMicrophoneUsageDescription": "OpenScreen needs microphone access to record voice audio.",
|
|
"NSCameraUsageDescription": "OpenScreen needs camera access to record webcam video.",
|
|
"NSCameraUseContinuityCameraDeviceType": true,
|
|
"com.apple.security.device.audio-input": true
|
|
}
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"icon": "icons/icons/png",
|
|
"artifactName": "${productName}-Linux-${version}.${ext}",
|
|
"category": "AudioVideo"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"icon": "icons/icons/win/icon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|