mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-27 04:09:55 +01:00
f381f5c085
* Switch from deprecated standard to neostandard in ESLint config * Update neostandard from 0.11.6 to 0.11.7
95 lines
1.8 KiB
JavaScript
95 lines
1.8 KiB
JavaScript
const { name, productName } = require('../package.json')
|
|
|
|
const config = {
|
|
appId: `io.freetubeapp.${name}`,
|
|
copyright: 'Copyleft © 2020-2024 freetubeapp@protonmail.com',
|
|
// asar: false,
|
|
// compression: 'store',
|
|
productName,
|
|
directories: {
|
|
output: './build/',
|
|
},
|
|
protocols: [
|
|
{
|
|
name: 'FreeTube',
|
|
schemes: [
|
|
'freetube'
|
|
]
|
|
}
|
|
],
|
|
files: [
|
|
'_icons/iconColor.*',
|
|
'icon.svg',
|
|
'./dist/**/*',
|
|
'!dist/web/*',
|
|
'!node_modules/**/*',
|
|
],
|
|
dmg: {
|
|
contents: [
|
|
{
|
|
path: '/Applications',
|
|
type: 'link',
|
|
x: 410,
|
|
y: 230,
|
|
},
|
|
{
|
|
type: 'file',
|
|
x: 130,
|
|
y: 230,
|
|
},
|
|
],
|
|
window: {
|
|
height: 380,
|
|
width: 540,
|
|
}
|
|
},
|
|
linux: {
|
|
category: 'Network',
|
|
icon: '_icons/icon.svg',
|
|
target: ['deb', 'zip', '7z', 'apk', 'rpm', 'AppImage', 'pacman'],
|
|
},
|
|
// See the following issues for more information
|
|
// https://github.com/jordansissel/fpm/issues/1503
|
|
// https://github.com/jgraph/drawio-desktop/issues/259
|
|
rpm: {
|
|
fpm: ['--rpm-rpmbuild-define=_build_id_links none']
|
|
},
|
|
deb: {
|
|
depends: [
|
|
'libgtk-3-0',
|
|
'libnotify4',
|
|
'libnss3',
|
|
'libxss1',
|
|
'libxtst6',
|
|
'xdg-utils',
|
|
'libatspi2.0-0',
|
|
'libuuid1',
|
|
'libsecret-1-0'
|
|
]
|
|
},
|
|
mac: {
|
|
category: 'public.app-category.utilities',
|
|
icon: '_icons/iconMac.icns',
|
|
target: ['dmg', 'zip', '7z'],
|
|
type: 'distribution',
|
|
extendInfo: {
|
|
CFBundleURLTypes: [
|
|
'freetube'
|
|
],
|
|
CFBundleURLSchemes: [
|
|
'freetube'
|
|
]
|
|
}
|
|
},
|
|
win: {
|
|
icon: '_icons/icon.ico',
|
|
target: ['nsis', 'zip', '7z', 'portable'],
|
|
},
|
|
nsis: {
|
|
allowToChangeInstallationDirectory: true,
|
|
oneClick: false,
|
|
},
|
|
}
|
|
|
|
module.exports = config
|