From 3b16d532efc41226c41c18974ba7f072804e1a62 Mon Sep 17 00:00:00 2001 From: futpib Date: Sun, 16 Dec 2018 04:33:54 +0300 Subject: [PATCH] Fix using development papeaks binary instead of system one --- components/volume-peaks-provider/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/volume-peaks-provider/index.js b/components/volume-peaks-provider/index.js index 886fabd..b37c067 100644 --- a/components/volume-peaks-provider/index.js +++ b/components/volume-peaks-provider/index.js @@ -17,10 +17,11 @@ const PA_SUBSCRIPTION_EVENT_SINK_INPUT = 0x0002; const VolumePeaksContext = React.createContext(null); function spawnProcess({ onPeak, onExit }) { - const process = spawn('/home/futpib/code/papeaks/target/release/papeaks', [ + const process = spawn('papeaks', [ '--output', 'binary', ], { + shell: true, stdio: [ 'ignore', 'pipe', 'inherit' ], });