taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit cd0d58753254f445a1ad80aa883025bc2bc63de2
parent 5f7926db8bfc2013fb427264cb46def2e9574868
Author: Florian Dold <florian@dold.me>
Date:   Mon, 22 Apr 2024 19:40:46 +0200

taler-wallet-cli: better default socket location

Diffstat:
Mpackages/taler-wallet-cli/src/index.ts | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts @@ -90,6 +90,7 @@ setUnhandledRejectionHandler((error: any) => { }); const defaultWalletDbPath = pathHomedir() + "/" + ".talerwalletdb.sqlite3"; +const defaultWalletCoreSocket = pathHomedir() + "/" + ".wallet-core.sock"; function assertUnreachable(x: never): never { throw new Error("Didn't expect to get here"); @@ -1203,7 +1204,7 @@ advancedCli help: "Serve the wallet API via a unix domain socket.", }) .requiredOption("unixPath", ["--unix-path"], clk.STRING, { - default: "wallet-core.sock", + default: defaultWalletCoreSocket, }) .flag("noInit", ["--no-init"], { help: "Do not initialize the wallet. The client must send the initWallet message.",