Files
Shell-Scripts/photo-toolkit.sh
T

9 lines
278 B
Bash
Executable File

#!/bin/bash
# 图片工具箱启动脚本
# 在调用时所在目录启动,不切换工作目录
# alias pht="/Users/paul/Documents/项目/个人项目/一些脚本/photo-toolkit.sh"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
node "$SCRIPT_DIR/photo-toolkit/index.js" "$@"