mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
172 lines
4.5 KiB
JSON
172 lines
4.5 KiB
JSON
{
|
|
"name": "freedom-loader",
|
|
"productName": "Freedom Loader",
|
|
"version": "1.6.0",
|
|
"author": "MasterAcnolo <MasterAcnolo@users.noreply.github.com>",
|
|
"description": "Free and open-source GUI for yt-dlp — download video and audio from hundreds of platforms",
|
|
"homepage": "https://masteracnolo.github.io/Freedom-Loader-Site/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/MasterAcnolo/Freedom-Loader.git"
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"bugs": {
|
|
"url": "https://github.com/MasterAcnolo/Freedom-Loader/issues"
|
|
},
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron --trace-warnings .",
|
|
"postinstall": "chmod +x resources/binaries/linux/* 2>/dev/null || true",
|
|
"build": "electron-builder",
|
|
"build:win": "electron-builder --win",
|
|
"build:linux": "electron-builder --linux",
|
|
"build:rpm": "bash scripts/create-copr-package.sh",
|
|
"build:all": "electron-builder -wl",
|
|
"update": "npm update"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^4.1.2",
|
|
"debug": "^4.4.1",
|
|
"discord-rpc": "^4.0.1",
|
|
"electron-updater": "^6.6.2",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^8.2.1",
|
|
"jszip": "^3.10.1",
|
|
"webidl-conversions": "^8.0.0",
|
|
"winston": "^3.17.0",
|
|
"winston-daily-rotate-file": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/devtron": "^2.1.1",
|
|
"electron": "^41.2.0",
|
|
"electron-builder": "^25.1.8"
|
|
},
|
|
"build": {
|
|
"appId": "com.masteracnolo.freedomloader",
|
|
"productName": "Freedom Loader",
|
|
"publish": [
|
|
{
|
|
"provider": "github",
|
|
"owner": "MasterAcnolo",
|
|
"repo": "Freedom-Loader",
|
|
"releaseType": "draft"
|
|
}
|
|
],
|
|
"files": [
|
|
"**/*",
|
|
"node_modules/**/*",
|
|
"!config/config.dev.json",
|
|
"!theme/**/*"
|
|
],
|
|
"directories": {
|
|
"buildResources": "build"
|
|
},
|
|
"asar": true,
|
|
"extraResources": [
|
|
{
|
|
"from": "theme",
|
|
"to": "theme"
|
|
},
|
|
{
|
|
"from": "build/confirm-icon.png",
|
|
"to": "confirm-icon.png"
|
|
},
|
|
{
|
|
"from": "build/banner.bmp",
|
|
"to": "banner.bmp"
|
|
},
|
|
{
|
|
"from": "build/banner.png",
|
|
"to": "banner.png"
|
|
},
|
|
{
|
|
"from": "build/error.png",
|
|
"to": "error.png"
|
|
},
|
|
{
|
|
"from": "config/config.default.json",
|
|
"to": "config/config.default.json"
|
|
}
|
|
],
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "build/app-icon.ico",
|
|
"artifactName": "${productName}-Setup-${version}.${ext}",
|
|
"extraResources": [
|
|
{
|
|
"from": "resources/binaries/win-32/yt-dlp.exe",
|
|
"to": "binaries/yt-dlp.exe"
|
|
},
|
|
{
|
|
"from": "resources/binaries/win-32/ffmpeg.exe",
|
|
"to": "binaries/ffmpeg.exe"
|
|
},
|
|
{
|
|
"from": "resources/binaries/win-32/ffprobe.exe",
|
|
"to": "binaries/ffprobe.exe"
|
|
},
|
|
{
|
|
"from": "resources/binaries/win-32/deno.exe",
|
|
"to": "binaries/deno.exe"
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"installerIcon": "build/app-icon.ico",
|
|
"uninstallerIcon": "build/uninstaller-icon.ico",
|
|
"installerSidebar": "build/banner.bmp",
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "Freedom Loader"
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"snap"
|
|
],
|
|
"category": "Utility",
|
|
"icon": "build/app-icon.png",
|
|
"executableName": "freedom-loader",
|
|
"extraResources": [
|
|
{
|
|
"from": "resources/binaries/linux/yt-dlp",
|
|
"to": "binaries/yt-dlp"
|
|
},
|
|
{
|
|
"from": "resources/binaries/linux/ffmpeg",
|
|
"to": "binaries/ffmpeg"
|
|
},
|
|
{
|
|
"from": "resources/binaries/linux/ffprobe",
|
|
"to": "binaries/ffprobe"
|
|
},
|
|
{
|
|
"from": "resources/binaries/linux/deno",
|
|
"to": "binaries/deno"
|
|
}
|
|
]
|
|
},
|
|
"deb": {
|
|
"fpm": [
|
|
"./package/com.masteracnolo.freedomloader.metainfo.xml=/usr/share/metainfo/com.masteracnolo.freedomloader.metainfo.xml"
|
|
]
|
|
},
|
|
"rpm": {
|
|
"fpm": [
|
|
"./package/com.masteracnolo.freedomloader.metainfo.xml=/usr/share/metainfo/com.masteracnolo.freedomloader.metainfo.xml"
|
|
]
|
|
},
|
|
"snap": {
|
|
"confinement": "strict",
|
|
"plugs": [
|
|
"default",
|
|
"removable-media"
|
|
]
|
|
}
|
|
}
|
|
}
|