Skip to content

Commit

Permalink
Next release with many improvements (#27)
Browse files Browse the repository at this point in the history
* Fix semver, better scan, better kill, cleanup
* Clarify README.
* Misc fixes & version bump
* Fix flatpak installation
  • Loading branch information
ObserverOfTime authored Feb 3, 2019
1 parent aa3f7b3 commit 7bd7153
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 127 deletions.
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ distro's [package manager][node-packages], you can
[node-download]: https://nodejs.org/en/download/

You can then install as follows (`#` means that a command needs root, which you
can get by prefixing a command with `sudo`):
can get by prefixing it with `sudo`):

```
$ curl -O https://raw.githubusercontent.com/bb010g/betterdiscordctl/master/betterdiscordctl
Expand Down Expand Up @@ -50,18 +50,23 @@ You can then keep `betterdiscordctl` up to date with one command:

Increases the verbosity level, for progressively more debugging information.

* `-s` / `--scan` (default `/opt`)
* `-s` / `--scan` (default `/opt,/usr/share`)

Changes the directory scanned for Discord installations.
Changes the directories scanned for Discord installations. These are scanned
in the order provided. Note that these do **not** end in `/discord`—if your
Discord installation is at `/opt/discord`, then `/opt` should be scanned.

* `-f` / `--flavors` (default `,Canary,PTB`)
* `-f` / `--flavors` (default `,canary,ptb`)

When scanning, looks for installations with the given suffixes (both
hyphenated and unhyphenated). Stable is `''`, as it has no suffix.
When scanning, looks for installations with the given suffixes (case
insensitive, both hyphenated and unhyphenated). Stable is `''`, as it has no
suffix. Note that **no** spaces follow commas. Your Discord flavor probably
doesn't have a space in it, so don't use any in here.

* `-d` / `--discord` (requires `--modules`)

Skip scanning and use the Discord installation directory specified.
Skip scanning and use the Discord installation directory specified. This
**does** probably end in `/discord`.

* `-m` / `--modules`

Expand Down Expand Up @@ -145,11 +150,11 @@ Updates `betterdiscordctl` to the latest version available on GitHub.
Shows the status of the default Discord install in `/usr/share`, instead
of `/opt`.

* `betterdiscordctl install -f PTB`
* `betterdiscordctl install -f ptb`

Installs BetterDiscord to the PTB flavor, instead of the default.

* `betterdiscordctl reinstall -f Canary`
* `betterdiscordctl reinstall -f canary`

Reinstalls BetterDiscord to Discord Canary.

Expand Down
Loading

0 comments on commit 7bd7153

Please sign in to comment.