Skip to content

Commit

Permalink
Bug fixesand version update (#52)
Browse files Browse the repository at this point in the history
* updating to touchportal-api 3.1.2

* 4.2.1

* updates to 4.2.1
update to touchportal-api version to fix update check errors

* finally correcting ERROG to ERROR

* rebuild with ERROG to ERROR fix
  • Loading branch information
spdermn02 authored Apr 12, 2022
1 parent 1472da7 commit 6567142
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 17 deletions.
Binary file modified Installers/TPDiscord-Mac.tpp
Binary file not shown.
Binary file modified Installers/TPDiscord-Win-DEVELOPMENT.tpp
Binary file not shown.
Binary file modified Installers/TPDiscord-Win-DiscordCanary.tpp
Binary file not shown.
Binary file modified Installers/TPDiscord-Win-PTB.tpp
Binary file not shown.
Binary file modified Installers/TPDiscord-Win.tpp
Binary file not shown.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ v4.1.0
v4.2.0
Updates:
- 3 New States - Discord Voice Channel ID, Discord Voice Channel Server, Discord Voice Channel Server ID
v4.2.1
Updates:
- pull in latest version 3.1.2 of touchportal-api module (fixes update check failing and killing process)
```

## Plugin Capabilities
Expand Down
4 changes: 2 additions & 2 deletions base/Mac/TPDiscord/entry.tp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": 3,
"version": 4100,
"TPDiscord_Version": "4.1.0",
"version": 4201,
"TPDiscord_Version": "4.2.1",
"name": "Touch Portal Discord Plugin",
"id": "TPDiscord",
"plugin_start_cmd": "sh %TP_PLUGIN_FOLDER%TPDiscord/start_tpdiscord.sh",
Expand Down
4 changes: 2 additions & 2 deletions base/Win/TPDiscord/entry.tp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"sdk": 3,
"version": 4100,
"TPDiscord_Version":"4.1.0",
"version": 4201,
"TPDiscord_Version":"4.2.1",
"name": "Touch Portal Discord Plugin",
"id": "TPDiscord",
"plugin_start_cmd": "\"%TP_PLUGIN_FOLDER%TPDiscord\\tpdiscord.exe\"",
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tpdiscord",
"version": "4.2.0",
"version": "4.2.1",
"description": "Touch Portal Plugin for Discord using RPC",
"bin": {
"tpdiscord": "src/index.js"
Expand Down Expand Up @@ -28,7 +28,7 @@
"discord-rpc": "^4.0.1",
"find-process": "^1.4.7",
"out-url": "^1.1.1",
"touchportal-api": "^2.0.1"
"touchportal-api": "^3.1.2"
},
"devDependencies": {
"pkg": "^5.5.1"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ const connectToDiscord = function () {
redirectUri,
prompt
}).catch((error) => {
logIt("ERROG","login error",error);
logIt("ERROR","login error",error);
if( error.code == 4009 ) {
connecting = false;
accessToken = null;
Expand Down
2 changes: 1 addition & 1 deletion src/indexPromise.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const connectToDiscord = function () {
scopes,
redirectUri
}).catch((error) => {
logIt("ERROG","login error",error);
logIt("ERROR","login error",error);
if( error.code == 4009 ) {
connecting = false;
accessToken = null;
Expand Down

0 comments on commit 6567142

Please sign in to comment.