diff --git a/README.md b/README.md index 45a72a0..313ef01 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ npm i -D Install `ffmpeg` globally using your preferred package manager, and install `demucs` globally with `pip`. +If you get "Couldn't find appropriate backend" errors, try installing `libsox-dev` instead. + ## Run in Development Mode `npm run dev` diff --git a/main-src/processQueue.cjs b/main-src/processQueue.cjs index 83a5d51..8bcd1c5 100644 --- a/main-src/processQueue.cjs +++ b/main-src/processQueue.cjs @@ -61,10 +61,7 @@ const PATH_TO_FFMPEG = PATH_TO_THIRD_PARTY_APPS const DEMUCS_EXE_NAME = PATH_TO_THIRD_PARTY_APPS ? 'demucs-cxfreeze' : 'demucs' const FFMPEG_EXE_NAME = 'ffmpeg' const CHILD_PROCESS_ENV = { - CUDA_PATH: process.env.CUDA_PATH, - PATH: process.env.PATH, - TEMP: process.env.TEMP, - TMP: process.env.TMP, + ... process.env, LANG: null, // Will be set when ready to split, since we can only check system locale after `app` is ready } if (PATH_TO_THIRD_PARTY_APPS) {