ai-battery 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- #!/usr/bin/env sh
2
- set -eu
3
-
4
- script=$0
5
- while [ -h "$script" ]; do
6
- dir=$(CDPATH= cd -- "$(dirname -- "$script")" && pwd)
7
- link=$(readlink "$script")
8
- case "$link" in
9
- /*) script=$link ;;
10
- *) script=$dir/$link ;;
11
- esac
12
- done
13
-
14
- script_dir=$(CDPATH= cd -- "$(dirname -- "$script")" && pwd)
15
-
16
- if ! command -v node >/dev/null 2>&1; then
17
- echo "ai-battery-hud: node was not found on PATH." >&2
18
- exit 1
19
- fi
20
-
21
- exec node "$script_dir/ai-battery-hud.js" "$@"
1
+ #!/usr/bin/env sh
2
+ set -eu
3
+
4
+ script=$0
5
+ while [ -h "$script" ]; do
6
+ dir=$(CDPATH= cd -- "$(dirname -- "$script")" && pwd)
7
+ link=$(readlink "$script")
8
+ case "$link" in
9
+ /*) script=$link ;;
10
+ *) script=$dir/$link ;;
11
+ esac
12
+ done
13
+
14
+ script_dir=$(CDPATH= cd -- "$(dirname -- "$script")" && pwd)
15
+
16
+ if ! command -v node >/dev/null 2>&1; then
17
+ echo "ai-battery-hud: node was not found on PATH." >&2
18
+ exit 1
19
+ fi
20
+
21
+ exec node "$script_dir/ai-battery-hud.js" "$@"