on master help sign in
Fix macOS app launch by setting DOTNET_ROOT and running executable directly
commit4faf45fa7cda322026d8cd45def68bbb54c7f6d5 authoriko <mail@iko.soy> dateTue 14 Apr 2026, 05:27 (6 months ago) parent611d819
1 file changed+2−1
client/run-mac.sh+2−1
client/run-mac.sh+2−1
@@ -2,4 +2,5 @@
22set -e
33cd "$(dirname "$0")"
44dotnet build -f net10.0
5−open bin/Debug/net10.0/Skrepka.app
5+export DOTNET_ROOT="$(dotnet --info | grep 'Base Path' | sed 's/.*: *//' | sed 's|/sdk/.*||')"
6+exec bin/Debug/net10.0/Skrepka.app/Contents/MacOS/Skrepka