From 344a27a336688ba7bd878845bf5b74fdc58a5ca4 Mon Sep 17 00:00:00 2001 From: Gregor Klevze Date: Sun, 30 Nov 2025 14:07:00 +0100 Subject: [PATCH] fix --- build-production-mac.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build-production-mac.sh b/build-production-mac.sh index cce2aea..e4a0b06 100644 --- a/build-production-mac.sh +++ b/build-production-mac.sh @@ -201,13 +201,11 @@ create_launchers() { launch_command="open \"./${app_dir}\"" fi - { - cat <<'CMD' + cat > "$PACKAGE_DIR/Launch-Tetris.command" < "$PACKAGE_DIR/Launch-Tetris.command" + cd "\$(dirname \"\$0\")" + ${launch_command} + EOF chmod +x "$PACKAGE_DIR/Launch-Tetris.command" cat > "$PACKAGE_DIR/README-mac.txt" <