mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
121 lines
3.8 KiB
JSON
121 lines
3.8 KiB
JSON
{
|
|
"name": "freedom-loader",
|
|
"productName": "Freedom Loader",
|
|
"version": "1.6.0",
|
|
"author": "MasterAcnolo <MasterAcnolo@users.noreply.github.com>",
|
|
"description": "Freedom Loader",
|
|
"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: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": "^41.2.0",
|
|
"electron-builder": "^26.8.1",
|
|
"@electron/devtron": "^2.1.1"
|
|
},
|
|
"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","rpm", "snap"],
|
|
"category": "Utility",
|
|
"icon": "build/app-icon.png",
|
|
"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",
|
|
"home",
|
|
"removable-media",
|
|
"network",
|
|
"audio-playback",
|
|
"desktop",
|
|
"desktop-legacy",
|
|
"x11",
|
|
"wayland"
|
|
]
|
|
}
|
|
}
|
|
} |