Skip to content

Commit

Permalink
readme: instlal using homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
tsonglew committed Mar 19, 2024
1 parent 1603472 commit 70b2a3a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ brews:
owner: tsonglew
name: dutis

name: brew_installer_name
name: dutis
# Template for the url which is determined by the given Token (github or gitlab)
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
url_template: "https://github.com/tsonglew/dutis/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
Expand Down
51 changes: 0 additions & 51 deletions Formula/brew_installer_name.rb

This file was deleted.

39 changes: 26 additions & 13 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,47 @@ A command-line tool to select default applications. It is a wrapper around [duti

## Installation

### Using HomeBrew

```shell
brew tap tsonglew/dutis https://github.com/tsonglew/dutis
brew install dutis
```

### Using Go

```shell
$ go install github.com/tsonglew/dutis@latest
go install github.com/tsonglew/dutis@latest
```

## Usage
## Usage

```shell
$ dutis
dutis
```

## Screenshots

1. Waiting for environment checking

![](./images/env-check.png)
![env-check](./images/env-check.png)

1. Selecting suffix

![choose-suffix](./images/choose-suffix.png)

1. Checking recommended applications

2. Selecting suffix
![recommend](./images/recommend.png)

![](./images/choose-suffix.png)
1. Selecting application UTI

3. Checking recommended applications
![choose-uti](./images/choose-uti.png)

![](./images/recommend.png)
1. Finished

4. Selecting application UTI

![](./images/choose-uti.png)
![finish](./images/finish.png)

5. Finished
## Stargazers over time

![](./images/finish.png)
[![Stargazers over time](https://starchart.cc/tsonglew/dutis.svg?variant=adaptive)](https://starchart.cc/tsonglew/dutis)

0 comments on commit 70b2a3a

Please sign in to comment.