2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

艦これ支援ツールの航海日誌をMacで効率よく起動する小技

Last updated at Posted at 2016-05-09

艦これ支援ツールの航海日誌が便利なので使っていますが、起動用のシェルスクリプトをダブルクリックするとXcodeが上がってしまい不便なのでAutomaterで改善してみました。

参考:MacのAutomatorでシェルスクリプトを.appアイコン化してダブルクリック実行

Automatorの起動

[アプリケーション] の直下。
Automater-1.png

定義の作成

[新規書類] を選択。
Automater-2.png
[アプリケーション] を選択。
Automater-3.png
[シェルスクリプトを実行] を選び [ワークフローを作成するには、ここにアクションまたはファイルをドラッグしてください。] にドラッグする。
Automater-4.png
航海日誌同梱のlogbook.shをテキストエディットで開き、内容をコピー。Automaterのシェルの部分に貼り付ける。
Automater-5.png
Automater-6.png
1行目は削除、2行目のcdの右側に航海日誌を展開したディレクトリを指定する。
Automater-7.png
好きな名前で保存する。

起動方法

作成したアプリケーションをダブルクリックするだけ。

2
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?