Closed Mattoje closed 1 month ago
Thank you for sharing this enhancement. I have pushed a commit that implements changes based on your approach. I have added a -v switch to allow overriding the wxWidgets version to use. You can check the new script and share your feedback.
It wasn't working at the begininnig.
It was still looking for osxfuse even though i did toggle the -f switch
so after adding those lines to the script
echo fuset=$fuset
echo VC_OSX_FUSET=$VC_OSX_FUSET
i found out that, no matter the fuset value, this expression
export VC_OSX_FUSET=$((fuset ? 1 : 0))
is always false
so i came up with this solution which works for me
export VC_OSX_FUSET=$([ $fuset == "true" ] && echo 1 || echo 0)
My bad! I didn't test it enough before pushing the changes. The one line syntax was tempting. Thank you for the fix, I have integrated it: https://github.com/veracrypt/VeraCrypt/commit/866fc8f5137925e684ea855111affe2d71612b88
I needed a way to disable universal binaries and to use my own wxWidgets. To disable universal binaries currently you have to use -b (brew) which implies using brew-wxwidgets.
Veracrypt + brew-wxwidgets breaks when brew-wxwidgets are updated.
This little patch did the trick (at least for me):