2
4

More than 5 years have passed since last update.

osxでwine使ってwindowsのソフトをDockから使う

Posted at

まずwineが入っててコマンドラインから立ち上げられる前提です。

自分はID ManegerをMacで使いたいので ~/wine/idm/IDM.exe に実行ファイルが置かれています。
あとwine本体は /usr/local/bin/wine にインストールされてます。確かbrew使って入れました。

設定方法

まず Spotlight で ”ActionScriopt エディター”を立ち上げて

do shell script "/usr/local/bin/wine /Users/ironsand/wine/idm/IDM.exe

と貼り付ける。

メニューの[ファイル]->[保存]から適当な名前をつけてフォーマットを アプリケーション で保存する。

アイコンを変える

保存したアプリを右クリックして「情報を見る」でプロパティ画面を開く。
あとアイコンにしたい画像も開く。
プレビュー画面で画像を全部選択して Command+Cでコピー
プロパティ画面の左上のアイコンを選択した状態で Command+V で貼付けして変更。

(何でこんな意味不明の手順踏まないとダメなの…。)

あとはDockに入れれば終了!

参考

Executable script in OS X for standalone windows software - Persistent Inappeasable Mind
http://pim.famnit.upr.si/blog/index.php?/archives/15-Executable-script-in-OS-X-for-standalone-windows-software.html

osx - How can I change an application icon in Mac OS X? - Super User
http://superuser.com/questions/37811/how-can-i-change-an-application-icon-in-mac-os-x

2
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
4