The HashLink executable expects hlboot.dat and libraries to be in the current working directory (it's not enough for them to be in the same directory as the executable). Make the .app file launch a shell script that 1) changes the current working directory 2) launches the HashLink executable
4 lines
127 B
Bash
4 lines
127 B
Bash
#!/usr/bin/env sh
|
|
# HashLink needs a specific working directory to find hlboot.dat and libraries
|
|
cd "$(dirname "$0")"
|
|
exec ./hl |