diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index 3c4397ce16..fe8a8793a9 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -37,6 +37,11 @@ else fi ./mach build -OBJ_FOLDER=$(ls -1 | grep obj-) -node ../install-preferences.js $PWD/$OBJ_FOLDER/dist/bin + +OBJ_FOLDER=$(ls -1 | grep obj-) +if [[ "$(uname)" == "Darwin" ]]; then + node ../install-preferences.js $PWD/$OBJ_FOLDER/dist +else + node ../install-preferences.js $PWD/$OBJ_FOLDER/dist/bin +fi