,"scripts": { "copy-resources": "mkdir -p resources/linux && cp ../extra/linux/* ./resources/linux", "start": "yarn run copy-resources && electron .", "prepare-flatpak": "electron-builder --linux --dir", "build-tar.xz-x64": "electron-builder --x64 --linux tar.xz", "build-deb-x64": "electron-builder --x64 --linux deb", "build-rpm-x64": "electron-builder --x64 --linux rpm", "build-snap-x64": "electron-builder --x64 --linux snap", "build-appimage-x64": "electron-builder --x64 --linux AppImage", "build-tar.xz-arm64": "electron-builder --arm64 --linux tar.xz", "build-deb-arm64": "electron-builder --arm64 --linux deb", "build-rpm-arm64": "electron-builder --arm64 --linux rpm", "build-appimage-arm64": "electron-builder --arm64 --linux AppImage" }, "devDependencies": { "electron": "^13.6.9", "electron-builder": "^23.0.3" }, "build": { "files": [ "**" ], "directories": { "buildResources": "build", "output": "../artifacts/${arch}" }, "extraResources": [ { "from": "../extra/", "to": ".", "filter": ["**"] }, { "from": "../", "to": ".", "filter": ["dev.aunetx.deezer.desktop", "dev.aunetx.deezer.svg"] } ], "linux": { "maintainer": "aunetx ", "icon": "../icons", "category": "Utility;AudioVideo;Audio;Player;Music;", "desktop": { "Name": "Deezer", "Type": "Application", "GenericName": "Online music streaming service", "Comment": "Listen and download all your favorite music", "MimeType": "x-scheme-handler/deezer;", "Keywords": "Music;Player;Streaming;Online;", "StartupWMClass": "Deezer" }, "artifactName": "${productName}-${version}-${arch}.${ext}" }, "snap": { "artifactName": "${productName}_${version}_${arch}.${ext}" }, "deb": { "artifactName": "${productName}_${version}_${arch}.${ext}" }, "rpm": { "artifactName": "${productName}-${version}.${arch}.${ext}" } } }