Fix possible bug when symlinking EmuHawkMono.sh

This commit is contained in:
YoshiRulz 2020-06-28 19:42:49 +10:00
parent bc0849ad9d
commit 73a905214e
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
cd "$(dirname "$0")"
cd "$(realpath "$(dirname "$0")")"
if [ "$(ps -C "mono" -o "cmd" --no-headers | grep "EmuHawk.exe")" ]; then
echo "EmuHawk is already running, exiting..."
exit 0