This commit is contained in:
Feross Aboukhadijeh
2017-02-08 16:07:25 -08:00
parent 95d6ec5fdd
commit 8d86cffabd
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ function downloadFinished (path) {
*/
function setBadge (count) {
if (process.platform === 'darwin' ||
process.platform === 'linux' && app.isUnityRunning()) {
(process.platform === 'linux' && app.isUnityRunning())) {
log(`setBadge: ${count}`)
app.setBadgeCount(Number(count))
}