Skip to content

Commit

Permalink
Merge pull request #104 from rafaelpernil2/release-2.6.1
Browse files Browse the repository at this point in the history
fix: Removed .env + Troubleshooting section
  • Loading branch information
rafaelpernil2 authored Jun 7, 2022
2 parents cea4ced + cd25075 commit ba4ef2a
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ TARGET_CHANNEL=
TARGET_MIDI_NAME=
TARGET_MIDI_CHANNEL=
REWARDS_MODE=
VIP_REWARDS_MODE=
VIP_REWARDS_MODE=
SEND_UNAUTHORIZED_MESSAGE=
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [TwitchMIDI]

## [2.6.1] - 2022-06-07

### Added
- Troubleshooting section for auth errors

### Changed
- Removed .env from bundle, it is not required and creates confusion

## [2.6.0] - 2022-06-07
### Added
- Incremental setup process. Now only invalid or not configured environment variables are prompted on setup
Expand Down Expand Up @@ -396,6 +404,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0


[TwitchMIDI]: https://github.com/rafaelpernil2/TwitchMIDI
[2.6.1]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.6.0...v2.6.1
[2.6.0]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.9...v2.6.0
[2.5.9]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.8...v2.5.9
[2.5.9]: https://github.com/rafaelpernil2/TwitchMIDI/compare/v2.5.8...v2.5.9
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ A full-featured configurable Twitch bot to connect with your MIDI equipment whil
- [!settempo](#settempo)
- [!syncmidi](#syncmidi)
- [!fetchdb](#fetchdb)
- [Troubleshooting](#troubleshooting)
- [Contributing](#contributing)
- [Support](#support)
- [Credits](#credits)
Expand Down Expand Up @@ -63,7 +64,7 @@ Latest release - [TwitchMIDI for Windows, Linux & MacOS (x86-64)](https://github

### Overriding custom settings

* Extract and replace all files except .env into your folder
* Extract and replace all files into your folder

### Safe method

Expand Down Expand Up @@ -252,7 +253,13 @@ So far, this first version does all that, keep reading the features for more det
#### !fetchdb
    Refreshes aliases, rewards and permissions configurations from the respective files.

## Troubleshooting

Question: I get authentication errors each time I open the app. What can I do?

Answer:

>Delete `bot-tokens.json` and `broadcaster-tokens.json` from your `config` folder. If that does not work, remove BROADCASTER_REFRESH_TOKEN, BROADCASTER_ACCESS_TOKEN, BOT_REFRESH_TOKEN and BOT_ACCESS_TOKEN from your `.env` file and re-configure it again
## Contributing
There is no plan regarding contributions in this project.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twitch-midi",
"version": "2.6.0",
"version": "2.6.1",
"description": "A Twitch bot that allows viewers to control your MIDI setup",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -15,8 +15,8 @@
"clean": "del-cli dist package",
"ncc": "ncc build src/index.ts -m -o dist -e jazz-midi",
"package": "pkg . -o package/TwitchMIDI",
"prezip": "cpy .env.template package --rename=.env && cpy config package && cpy package.json package",
"zip": "cd package && bestzip ../TwitchMIDI.zip * .env",
"prezip": "cpy config package && cpy package.json package",
"zip": "cd package && bestzip ../TwitchMIDI.zip *",
"bundle": "npm run clean && npm run ncc && npm run package && npm run zip"
},
"keywords": [
Expand Down

0 comments on commit ba4ef2a

Please sign in to comment.