diff --git a/Installers/TPDiscord-Mac.tpp b/Installers/TPDiscord-Mac.tpp index 34a62b3..9e0c32c 100644 Binary files a/Installers/TPDiscord-Mac.tpp and b/Installers/TPDiscord-Mac.tpp differ diff --git a/Installers/TPDiscord-Win-DiscordCanary.tpp b/Installers/TPDiscord-Win-DiscordCanary.tpp index 46a609f..b943f14 100644 Binary files a/Installers/TPDiscord-Win-DiscordCanary.tpp and b/Installers/TPDiscord-Win-DiscordCanary.tpp differ diff --git a/Installers/TPDiscord-Win-PTB.tpp b/Installers/TPDiscord-Win-PTB.tpp index 3028c63..5a4b5ba 100644 Binary files a/Installers/TPDiscord-Win-PTB.tpp and b/Installers/TPDiscord-Win-PTB.tpp differ diff --git a/Installers/TPDiscord-Win.tpp b/Installers/TPDiscord-Win.tpp index caddd3b..115bdfb 100644 Binary files a/Installers/TPDiscord-Win.tpp and b/Installers/TPDiscord-Win.tpp differ diff --git a/package-lock.json b/package-lock.json index bb594e7..30a0da3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tpdiscord", - "version": "4.0.1", + "version": "4.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tpdiscord", - "version": "4.0.1", + "version": "4.0.2", "license": "ISC", "dependencies": { "discord-rpc": "^3.1.4", diff --git a/package.json b/package.json index d2e847d..e4b0790 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tpdiscord", - "version": "4.0.1", + "version": "4.0.2", "description": "Touch Portal Plugin for Discord using RPC", "bin": { "tpdiscord": "src/index.js" diff --git a/src/process_watcher.js b/src/process_watcher.js index e1c1c0d..56df2c9 100644 --- a/src/process_watcher.js +++ b/src/process_watcher.js @@ -39,6 +39,9 @@ class ProcessReady extends EventEmitter { this.processNames[processName].isRunning = false; emitEvent = false; } + }).catch((err) => { + emitEvent = null; + console.log(`TPDiscord: Unable to determine if process running, error occured - ${err}`); }); if( emitEvent ) {