Putting Zim into a mac app

Zim actually works pretty okay on macOS’ command lines:

1
2
$ brew install zim
$ zim

But natrually you want it on Dock, here is how to do it,

First, install Platypus, it’s a tool that wrapping scripts into native Mac app.

Second, download Zim source code

Now, open Platypus.app, configure as follow:

Add a new script copy/paste this into it:

1
2
3
4
5
6
7
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

PYTHONPATH="/usr/local/lib/python3.7/site-packages"
PYTHONPATH="$PYTHONPATH;../Resources/zim-desktop-wiki/zim"

/usr/local/bin/python3 ../Resources/zim-desktop-wiki/zim.py --standalone

Set Interface to None if you want to ignore console outputs

Then, drag the uncompressed source code folder for zim in Bundle Files, please do change the path name accordingly to the file you just downloaded.

Lastly hit theCreate App button you are good to go

And you can use the profile configuration that I used by Loading it from the Profiles menu

Comments