docs: standardize commands

This commit is contained in:
Ho Duc Hieu 2023-12-22 20:32:41 +09:00
parent 026ded531b
commit 698510b16c
3 changed files with 10 additions and 11 deletions

View File

@ -58,16 +58,16 @@ To reset your installation
```bash ```bash
# Newer versions # Newer versions
rm -rf /Users/$(whoami)/Library/Application\ Support/jan rm -rf ~/Library/Application\ Support/jan
# Versions 0.2.0 and older # Versions 0.2.0 and older
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron rm -rf ~/Library/Application\ Support/jan-electron
``` ```
3. Clear Application cache 3. Clear Application cache
```bash ```bash
rm -rf /Users/$(whoami)/Library/Caches/jan* rm -rf ~/Library/Caches/jan*
``` ```
4. Use the following commands to remove any dangling backend processes: 4. Use the following commands to remove any dangling backend processes:

View File

@ -49,4 +49,4 @@ sudo apt-get remove jan
# where jan is the name of Jan package # where jan is the name of Jan package
``` ```
In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at `$HOME/.config/Jan` and ~/.jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan. In case you wish to completely remove all user data associated with Jan after uninstallation, you can delete the user data folders located at ~/jan. This will return your system to its state prior to the installation of Jan. This method can also be used to reset all settings if you are experiencing any issues with Jan.

View File

@ -53,15 +53,15 @@ The following steps will help you troubleshoot and resolve issues related to bro
```bash ```bash
# Step 1: Delete the application data # Step 1: Delete the application data
## Newer versions ## Newer versions
rm -rf /Users/$(whoami)/Library/Application\ Support/jan rm -rf ~/Library/Application\ Support/jan
## Versions 0.2.0 and older ## Versions 0.2.0 and older
rm -rf /Users/$(whoami)/Library/Application\ Support/jan-electron rm -rf ~/Library/Application\ Support/jan-electron
# Step 2: Clear application cache # Step 2: Clear application cache
rm -rf /Users/$(whoami)/Library/Caches/jan* rm -rf ~/Library/Caches/jan*
# Step 3: Remove all user data # Step 3: Remove all user data
rm -rf ./jan rm -rf ~/jan
``` ```
</TabItem> </TabItem>
@ -77,9 +77,8 @@ The following steps will help you troubleshoot and resolve issues related to bro
<TabItem value="linux" label="Linux"> <TabItem value="linux" label="Linux">
```bash ```bash
# You can delete the user data folders located at the following `$HOME/.config/jan` and `~/.jan` # You can delete the user data folders located at the following `~/jan`
rm -r $HOME/.config/jan rm -rf ~/jan
rm -r ~/.jan
``` ```
</TabItem> </TabItem>