Osx:Wine
Xquartz
Install Xquartz first.
Wine
brew install wine
brew install winetricks
winecfg
#brew install zenity
#winetricks allfonts
winetricks wenquanyi
winetricks ddr=opengl
winetricks fontsmooth=rgb
export WINEDEBUG=-all
wine notepad++.exe
添加快捷方式
使用Automator新建一个App, 选择Utilties/Run shell script:
export WINEDEBUG=-all && /usr/local/bin/wine /Users/hfli/Wine/npp.7.3.3.bin/notepad++.exe
保存到~/Applications里面,然后在App上点command+i,在左上角的图标那里,复制粘贴一个图标就Ok了(直接拖入png不能显示)
- .Net framework
winetricks dotnet40