update documentation to change default application folder name

This commit is contained in:
woodser 2024-05-16 08:02:38 -04:00
parent 64acf86fbe
commit e30a247898
2 changed files with 10 additions and 4 deletions

View file

@ -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/

View file

@ -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/