1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 19:15:04 +00:00

Compatible with German and French system users

This commit is contained in:
Tw93
2025-10-08 11:31:03 +08:00
parent 01b74c076e
commit 1ae3479072
3 changed files with 17 additions and 7 deletions

View File

@@ -4,6 +4,10 @@
set -euo pipefail
# Fix locale issues (avoid Perl warnings on non-English systems)
export LC_ALL=C
export LANG=C
# Get script directory for sourcing libraries
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
LIB_DIR="$(dirname "$SCRIPT_DIR")/lib"