mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-09 17:51:46 +00:00
feat: isolate electron-builder configuration
This commit is contained in:
125
electron-builder.yml
Normal file
125
electron-builder.yml
Normal file
@ -0,0 +1,125 @@
|
||||
appId: com.github.th-ch.youtube-music
|
||||
productName: YouTube Music
|
||||
files:
|
||||
- '!*'
|
||||
- dist
|
||||
- assets
|
||||
- license
|
||||
- '!node_modules'
|
||||
- 'node_modules/custom-electron-prompt/**'
|
||||
- 'node_modules/@ghostery/adblocker-electron-preload/**'
|
||||
- 'node_modules/@ffmpeg.wasm/core-mt/**'
|
||||
- '!node_modules/**/*.map'
|
||||
- '!node_modules/**/*.ts'
|
||||
asarUnpack:
|
||||
- assets
|
||||
mac:
|
||||
identity: null
|
||||
target:
|
||||
- target: dmg
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
icon: assets/generated/icons/mac/icon.icns
|
||||
compression: maximum
|
||||
win:
|
||||
icon: assets/generated/icons/win/icon.ico
|
||||
target:
|
||||
- target: nsis-web
|
||||
arch:
|
||||
- x64
|
||||
- ia32
|
||||
- arm64
|
||||
- target: portable
|
||||
arch:
|
||||
- x64
|
||||
- ia32
|
||||
- arm64
|
||||
compression: maximum
|
||||
nsisWeb:
|
||||
runAfterFinish: false
|
||||
linux:
|
||||
icon: assets/generated/icons/png
|
||||
category: AudioVideo
|
||||
desktop:
|
||||
entry:
|
||||
StartupWMClass: com.github.th_ch.youtube_music
|
||||
target:
|
||||
- target: AppImage
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
- armv7l
|
||||
- target: flatpak
|
||||
arch:
|
||||
- x64
|
||||
- target: deb
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
- armv7l
|
||||
- target: rpm
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
- target: snap
|
||||
arch:
|
||||
- x64
|
||||
- target: freebsd
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
- armv7l
|
||||
- target: tar.gz
|
||||
arch:
|
||||
- x64
|
||||
- arm64
|
||||
- armv7l
|
||||
appImage:
|
||||
description: >-
|
||||
YouTube Music Desktop App bundled with custom plugins (and built-in ad
|
||||
blocker / downloader)
|
||||
category: AudioVideo
|
||||
flatpak:
|
||||
description: >-
|
||||
YouTube Music Desktop App bundled with custom plugins (and built-in ad
|
||||
blocker / downloader)
|
||||
category: AudioVideo
|
||||
runtimeVersion: '24.08'
|
||||
baseVersion: '24.08'
|
||||
finishArgs:
|
||||
- '--socket=wayland'
|
||||
- '--socket=x11'
|
||||
- '--share=ipc'
|
||||
- '--device=dri'
|
||||
- '--socket=pulseaudio'
|
||||
- '--share=network'
|
||||
- '--filesystem=xdg-music:rw'
|
||||
- '--talk-name=org.freedesktop.Notifications'
|
||||
- '--talk-name=org.gnome.SessionManager'
|
||||
- '--talk-name=org.kde.StatusNotifierWatcher'
|
||||
- '--own-name=org.mpris.MediaPlayer2.YoutubeMusic.*'
|
||||
deb:
|
||||
depends:
|
||||
- libgtk-3-0
|
||||
- libnotify4
|
||||
- libnss3
|
||||
- libxss1
|
||||
- libxtst6
|
||||
- xdg-utils
|
||||
- libatspi2.0-0
|
||||
- libuuid1
|
||||
- libasound2
|
||||
- libgbm1
|
||||
rpm:
|
||||
depends:
|
||||
- /usr/lib64/libuuid.so.1
|
||||
fpm:
|
||||
- '--rpm-rpmbuild-define'
|
||||
- _build_id_links none
|
||||
snap:
|
||||
slots:
|
||||
- mpris:
|
||||
interface: mpris
|
||||
directories:
|
||||
output: ./pack/
|
||||
Reference in New Issue
Block a user