10 lines
189 B
Bash
Raw Normal View History

2024-08-03 07:27:57 +08:00
#set -- "$1" "${2#file://*}"
local path=$(urldecode "$2")
path=${path/file:\/\//}
set -- "$1" "$path"
if [ "$path" ];then
CallProcess "$@"
else
CallProcess "$1"
fi