mirror of
https://github.com/CompeyDev/dotfiles.git
synced 2024-12-14 06:10:36 +00:00
13 lines
239 B
Bash
13 lines
239 B
Bash
#!/bin/bash
|
|
|
|
lune=/usr/sbin/lune
|
|
|
|
if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then
|
|
if [ -f "$1" ] || [ -f "$1.luau" ] || [ -f "$1.lua" ]; then
|
|
lune run "$@"
|
|
exit $?
|
|
fi
|
|
fi
|
|
|
|
lune "$@"
|
|
exit $?
|