From 8f6a40e18d69ccadaa8dce4dbafe5d4ec06c1332 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sat, 18 Jun 2022 12:49:42 +0100 Subject: [PATCH] Declare custom URI scheme and change app package name By default the snap name is the package name, which conflicts with the CLI command name. --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index ec7e096..cdb1fd4 100644 --- a/package.json +++ b/package.json @@ -84,11 +84,18 @@ ], "asar": false, "extraMetadata": { + "name": "nxapi-app", "main": "dist/bundle/app-main-bundle.cjs" }, "directories": { "output": "dist/app/package" }, + "protocols": [ + { + "name": "Nintendo Switch Online", + "schemes": ["com.nintendo.znca"] + } + ], "mac": { "identity": null }