windows程序功能强大且已经习惯使用了,用mac总感觉不给力,例如记事本工具Notepad++就非常优秀。下面介绍如何在mac系统下通过wine来安装使用notepadd++程序。
1.安装wine
在Mac上安装Wine (用于运行exe程序)
2.安装notepad++
https://notepad-plus-plus.org/
找到dowload,找到Notepad++ zip package 32-bit x86 版本下载
解压到某个文件夹,例如:/Users/hdwang/App
复制运行文件的全路径:/Users/hdwang/App/npp.7.4.2.bin/notepad++.exe
3.运行notepad++
彻底消除wine中文乱码,QQ,kugoo等等
5.创建快捷方式到mac桌面
on run {input, parameters}
tell application "Finder"
--set dirPath to (get insertion location)
set filePathAlias to selection as alias
set filePath to POSIX path of filePathAlias
end tell
--display dialog "打开" & filePath
(* 调用shell脚本 *)
do shell script "/usr/local/bin/wine /Users/hdwang/App/npp.7.4.2.bin/notepad++.exe \"" & filePath & "\""
return input
end run
保存到应用程序即可(notepad.app)。