From e30a247898ffff874d03eec9b3c0450589c00e16 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 16 May 2024 08:02:38 -0400 Subject: [PATCH] update documentation to change default application folder name --- docs/create-mainnet.md | 7 +++++-- docs/deployment-guide.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/create-mainnet.md b/docs/create-mainnet.md index 95a4334d..9a375a7b 100644 --- a/docs/create-mainnet.md +++ b/docs/create-mainnet.md @@ -46,9 +46,12 @@ Hardcode the public key(s) in these files: ## Change the default folder name for Haveno application data -To avoid data corruption by using Haveno with other networks, change the default folder name for Haveno's application data with your network, by setting [DEFAULT_APP_NAME](https://github.com/haveno-dex/haveno/blob/1aa62863f49a15e8322a8d96e58dc0ed37dec4eb/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85) in HavenoExecutable.java. +To avoid user data corruption when using multiple Haveno networks, change the default folder name for Haveno's application data on your network: -For example, change "Haveno" to "HavenoX", which will use the application folder: +- Change `DEFAULT_APP_NAME` in [HavenoExecutable.java](https://github.com/haveno-dex/haveno/blob/64acf86fbea069b0ae9f9bce086f8ecce1e91b87/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85). +- Change `appName` throughout the [Makefile](https://github.com/haveno-dex/haveno/blob/64acf86fbea069b0ae9f9bce086f8ecce1e91b87/Makefile#L479) accordingly. + +For example, change "Haveno" to "HavenoX", which will use this application folder: - Linux: ~/.local/share/HavenoX/ - macOS: ~/Library/Application Support/HavenoX/ diff --git a/docs/deployment-guide.md b/docs/deployment-guide.md index 6851b54e..ef854f99 100644 --- a/docs/deployment-guide.md +++ b/docs/deployment-guide.md @@ -134,9 +134,12 @@ To set the network's filter object: ## Change the default folder name for Haveno application data -To avoid data corruption by using Haveno with other networks, change the default folder name for Haveno's application data with your network, by setting [DEFAULT_APP_NAME](https://github.com/haveno-dex/haveno/blob/1aa62863f49a15e8322a8d96e58dc0ed37dec4eb/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85) in HavenoExecutable.java. +To avoid user data corruption when using multiple Haveno networks, change the default folder name for Haveno's application data on your network: -For example, change "Haveno" to "HavenoX", which will use the application folder: +- Change `DEFAULT_APP_NAME` in [HavenoExecutable.java](https://.com/haveno-dex/haveno/blob/1aa62863f49a15e8322a8d96e58dc0ed37dec4eb/core/src/main/java/haveno/core/app/HavenoExecutable.java#L85). +- Change `appName` throughout the [Makefile](https://github.com/haveno-dex/haveno/blob/64acf86fbea069b0ae9f9bce086f8ecce1e91b87/Makefile#L479) accordingly. + +For example, change "Haveno" to "HavenoX", which will use this application folder: - Linux: ~/.local/share/HavenoX/ - macOS: ~/Library/Application Support/HavenoX/