Add macos mgcb fix script
This commit is contained in:
parent
ba42178c38
commit
2d84270589
1 changed files with 11 additions and 0 deletions
11
macos-fix-mgcb.sh
Executable file
11
macos-fix-mgcb.sh
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
brew install freetype
|
||||||
|
brew install freeimage
|
||||||
|
mgcb_ver=$(ls ~/.nuget/packages/dotnet-mgcb/)
|
||||||
|
mgcb_path=~/.nuget/packages/dotnet-mgcb/$mgcb_ver/tools/net6.0/any/
|
||||||
|
|
||||||
|
rm $mgcb_path/libfreetype6.dylib $mgcb_path/libFreeImage.dylib
|
||||||
|
|
||||||
|
ln -s /opt/homebrew/lib/libfreetype.dylib $mgcb_path/libfreetype6.dylib
|
||||||
|
ln -s /opt/homebrew/lib/libfreeimage.dylib $mgcb_path/libFreeImage.dylib
|
Loading…
Add table
Reference in a new issue