Skip to content

Commit

Permalink
update:doc:readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alicfeng committed Jan 17, 2020
1 parent afb569e commit 9573c18
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ go build -o /usr/local/bin/mysql_markdown mysql_markdown.go
chmod +x /usr/local/bin/mysql_markdown
```

###### 安装方式.2
```bash
# download by browser
https://dl.samego.com/#files%2Fpackage%2Fmysql_markdown
```


#### 使用

Expand Down
9 changes: 4 additions & 5 deletions install
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
#!/usr/bin/env bash

dl_dir="https://raw.githubusercontent.com/alicfeng/mysql_markdown/master/release/"
dl_dir="https://dl.samego.com/package/mysql_markdown/"

if [[ "$(uname)" == "Darwin" ]]; then
# Mac OS X 操作系统
# Mac OS X
echo -e "installing mysql_markdown_mac"
curl -o /usr/local/bin/mysql_markdown -sSL "${dl_dir}mysql_markdown_mac"
chmod a+x /usr/local/bin/mysql_markdown
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
# GNU/Linux操作系统
# GNU/Linux
echo "installing mysql_markdown_unix"
curl -o /usr/local/bin/mysql_markdown -sSL "${dl_dir}mysql_markdown_unix"
chmod a+x /usr/local/bin/mysql_markdown
elif [[ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]]; then
# Windows NT操作系统
elif [[ "$(ex
echo "installing mysql_markdown_win"
curl -o mysql_markdown -sSL "${dl_dir}mysql_markdown_unix"
#echo -e "sorry! please download source to build as well as install"
Expand Down
Binary file removed release/mysql_markdown_mac
Binary file not shown.
Binary file removed release/mysql_markdown_unix
Binary file not shown.
Binary file removed release/mysql_markdown_win
Binary file not shown.

0 comments on commit 9573c18

Please sign in to comment.