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