Osx:Wine:修订间差异
imported>Soleverlee 以“<source lang="bash"> </source> Category:Linux/Unix”为内容创建页面 |
imported>Riguz |
||
(未显示2个用户的6个中间版本) | |||
第1行: | 第1行: | ||
=Xquartz= | |||
[https://xquartz.macosforge.org/ Install Xquartz] first. | |||
=Wine= | |||
<source lang="bash"> | <source lang="bash"> | ||
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 | |||
</source> | </source> | ||
=添加快捷方式= | |||
使用Automator新建一个App, 选择Utilties/Run shell script: | |||
<source lang="bash"> | |||
export WINEDEBUG=-all && /usr/local/bin/wine /Users/hfli/Wine/npp.7.3.3.bin/notepad++.exe | |||
</source> | |||
保存到~/Applications里面,然后在App上点command+i,在左上角的图标那里,复制粘贴一个图标就Ok了(直接拖入png不能显示) | |||
= .Net framework= | |||
.Net framework貌似只能再32位的wine上运行~ | |||
<source lang="bash"> | |||
rm -rf ~/.wine | |||
WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot | |||
winetricks dotnet40 | |||
</source> | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2018年8月5日 (日) 10:10的最新版本
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
.Net framework貌似只能再32位的wine上运行~
rm -rf ~/.wine
WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot
winetricks dotnet40