#!/bin/sh # macOS/Linux entry; Windows can use the .ps1 or Python entry. set -eu script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) if command -v python3 >/dev/null 2>&1; then exec python3 "$script_dir/dingtalk_notify.py" progress "$@" fi exec python "$script_dir/dingtalk_notify.py" progress "$@"