From 0de1028fd340ddc4487d031783a0e306e25a7336 Mon Sep 17 00:00:00 2001 From: Sergey Kintsel Date: Mon, 26 Feb 2024 12:17:56 +0000 Subject: [PATCH] Update package details for linux distributions --- package.json | 23 +++++++++-------------- scripts/build.js | 1 + 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index a394bb5f07..e919ce5c7c 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "version": "2.0.1", "author": "Trilitech ", "description": "Tezos Wallet", - "homepage": "./", + "homepage": "https://umamiwallet.com", "repository": "https://github.com/trilitech/umami-v2", + "license": "MIT", "engines": { "node": ">=20.11.10 <21.0.0" }, @@ -302,19 +303,13 @@ "x-scheme-handler/umami" ] }, - "snap": { - "plugs": [ - "default", - "raw-usb", - "hidraw" - ], - "buildPackages": [ - "libusb-1.0-0-dev", - "libudev-dev" - ], - "stagePackages": [ - "libusb-1.0-0", - "libnss3" + "deb": { + "depends": [ + "libasound2", + "libnotify4", + "libxtst6", + "libnss3", + "libc6" ] }, "protocols": { diff --git a/scripts/build.js b/scripts/build.js index e9b1891345..3a8c4ac3bc 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -3,6 +3,7 @@ // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = "production"; process.env.NODE_ENV = "production"; +process.env.PUBLIC_URL ||= "./"; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are not handled will