From 91e5f4ea2174aa20d67a8a8aec3485e9171fb857 Mon Sep 17 00:00:00 2001 From: Muril-o Date: Wed, 16 Mar 2022 13:11:37 -0300 Subject: [PATCH] Updated and added additional parameters for building the app --- package.json | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5b77de3..1f674fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Miru", "version": "0.6.2", - "author": "ThaUnknown_", + "author": "ThaUnknown ", "main": "src/index.js", "scripts": { "start": "SET NODE_ENV=development & concurrently \"npm run web:watch\" \"npm run electron:start\"", @@ -46,12 +46,41 @@ "category": "public.app-category.video" }, "win": { - "target": "nsis", + "artifactName": "${name}-${os}-${arch}-${version}.${ext}", + "target": [ + { + "arch": [ + "ia32", + "x64" + ], + "target": "nsis" + } + ], "icon": "src/renderer/public/logo.ico" }, "linux": { - "category": "Video", - "target": "AppImage" + "artifactName": "${name}-${os}-${arch}-${version}.${ext}", + "category": "Video;Anime", + "description": "Bittorrent streaming software for cats", + "icon": "src/renderer/public/logo_cut.png", + "desktop": { + "Name": "Miru", + "Comment": "Bittorrent streaming software for cats", + "Keywords": "miru;anime", + "Type": "Application", + "MimeType": "x-scheme-handler/miru;" + }, + "target": [ + { + "arch": "x64", + "target": "AppImage" + }, + { + "arch": "x64", + "target": "deb" + } + ], + "mimeTypes": ["x-scheme-handler/miru"] }, "nsis": { "oneClick": false,