From 9ced1d350399dd3526a18476e2363d757443a6c6 Mon Sep 17 00:00:00 2001 From: Adler Luiz Date: Wed, 24 Jun 2020 20:30:54 -0300 Subject: [PATCH] :arrow_up: Electron v9.0.5 --- package-lock.json | 6 +++--- package.json | 2 +- src/providers/rainmeterNowPlaying.js | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 43a09cb31..c6219df17 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1497,9 +1497,9 @@ } }, "electron": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/electron/-/electron-9.0.4.tgz", - "integrity": "sha512-QzkeZNAiNB7KxcdoQKSoaiVT/GQdB4Vt0/ZZOuU8tIKABAsni2I7ztiAbUzxcsnQsqEBSfChuPuDQ5A4VbbzPg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/electron/-/electron-9.0.5.tgz", + "integrity": "sha512-bnL9H48LuQ250DML8xUscsKiuSu+xv5umXbpBXYJ0BfvYVmFfNbG3jCfhrsH7aP6UcQKVxOG1R/oQExd0EFneQ==", "dev": true, "requires": { "@electron/get": "^1.0.1", diff --git a/package.json b/package.json index 7ca8c0b21..b5e4dd23b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ } }, "devDependencies": { - "electron": "^9.0.4", + "electron": "^9.0.5", "electron-builder": "^22.7.0", "husky": "^3.1.0", "prettier": "^2.0.5", diff --git a/src/providers/rainmeterNowPlaying.js b/src/providers/rainmeterNowPlaying.js index 5e64a0da9..fac1c44fd 100644 --- a/src/providers/rainmeterNowPlaying.js +++ b/src/providers/rainmeterNowPlaying.js @@ -38,8 +38,9 @@ function start() { }) ws.on('close', () => { + stop() reconnect = setTimeout(() => { - if (isStarted()) { + if (!isStarted()) { start() } }, 5000)