$ pwd
/Applications/Typora.app/Contents/MacOS
$ ls
Typora Typora.real
$ cat Typora
#!/bin/bash
# find "/Users/$(whoami)/Library/Application Support/abnerworks.Typora" -type f -d 1 -exec rm {} \;
find "/Users/$(whoami)/Library/Application Support/abnerworks.Typora" -type f -d 1 -delete
"`dirname "$0"`"/Typora.real $@