From f8d9567422beb674f5a74ca340506f131eff707e Mon Sep 17 00:00:00 2001 From: BlueManCZ Date: Sun, 31 Jan 2021 22:21:13 +0100 Subject: [PATCH] Change command --- src/main/tray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/tray.js b/src/main/tray.js index c44221f7..c2a8a665 100644 --- a/src/main/tray.js +++ b/src/main/tray.js @@ -50,7 +50,7 @@ function checkLinuxTraySupport (cb) { const cp = require('child_process') // Check that libappindicator libraries are installed in system. - cp.exec('ls /usr/lib*/libappindicator*', function (err, stdout) { + cp.exec('ldconfig -p | grep libappindicator', function (err, stdout) { if (err) return cb(err) cb(null) })