Skip to content

Commit

Permalink
chore: update installation script and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanchapai committed Mar 22, 2024
1 parent de80edd commit d75b4b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ To convert your birthday on 1999-10-29 AD to nepali, run\

## Installing / Updating `ad2bs`

### For macOS/Linux
### If you have go installed.

Have go >= 1.21 installed. Clone the repo, then run `go install .`

### If you don't have go installed, for macOS/Linux:

```sh
rm -f `which ad2bs`
curl -s https://raw.githubusercontent.com/opensource-nepal/ad2bs/main/scripts/install.txt | sh
```

### For Windows

Have go >= 1.21 installed. Clone the repo, then run `go install .`
1 change: 0 additions & 1 deletion scripts/install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ add_usr_local_bin_to_path() {
echo "Either provide password for superuser permission to append to /etc/paths."
echo "Or press <Control+c> at this point and add it to path yourself\n"
echo $TO_ADD | sudo tee -a /etc/paths
LINE_TO_ADD="PATH=\$PATH:$TO_ADD" >> ~/.zshrc
}

install_in_usr_local() {
Expand Down

0 comments on commit d75b4b3

Please # to comment.