feat: proper windows support
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
set -euo pipefail
|
||||
|
||||
bun_path="$1"
|
||||
if [[ ${bun_path} != /* ]]; then
|
||||
bun_path="$(cd "$(dirname "${bun_path}")" && pwd -P)/$(basename "${bun_path}")"
|
||||
fi
|
||||
workdir="$(mktemp -d)"
|
||||
trap 'rm -rf "${workdir}"' EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user