1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/bash export _portableConfig="im.qq.app" if [[ "$@" = "--actions opendir" ]]; then portable --actions opendir elif [[ "$@" = "--actions share-files" ]]; then portable --actions share-files elif [[ "$@" = "--actions quit" ]]; then portable --actions quit else portable "$@" fi