Adds a mac zip target (x64 + arm64) so releases cover all three
platforms. Builds unsigned: electron-builder skips code signing when not
running on macOS, so these need the quarantine attribute cleared.
Also puts ${os} in artifactName. Without it the Windows and macOS zips
were both WhatsThatMusic-1.0.0-x64.zip, which collide as release assets
and give no clue which platform they are.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"name": "whats-that-music-client",
|
|
"version": "1.0.0",
|
|
"description": "Single-app YouTube Music player + now-playing overlay server for OBS",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"test": "node --test \"tests/**/*.test.js\"",
|
|
"build": "electron-builder"
|
|
},
|
|
"build": {
|
|
"appId": "com.whatsthatmusic.client",
|
|
"productName": "WhatsThatMusic",
|
|
"files": [
|
|
"**/*",
|
|
"!tests/**"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../overlay",
|
|
"to": "overlay"
|
|
}
|
|
],
|
|
"extraMetadata": {
|
|
"main": "index.js"
|
|
},
|
|
"win": {
|
|
"target": "zip",
|
|
"sign": false,
|
|
"signAndEditExecutable": false,
|
|
"certificateSubjectName": null
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"icon": "build/icon.png",
|
|
"category": "AudioVideo",
|
|
"synopsis": "YouTube Music player with a now-playing overlay for OBS",
|
|
"maintainer": "What's That Music"
|
|
},
|
|
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
|
"mac": {
|
|
"target": [
|
|
"zip"
|
|
],
|
|
"icon": "build/icon.png",
|
|
"category": "public.app-category.music"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.2.1",
|
|
"ws": "^8.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^33.0.0",
|
|
"electron-builder": "^25.0.0"
|
|
}
|
|
}
|