Skip to content

Commit

Permalink
Fixes *_start.command bug in macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
a740g committed Apr 28, 2024
1 parent e6f3f8d commit 0504b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/qb64pe.bas
Original file line number Diff line number Diff line change
Expand Up @@ -13030,7 +13030,7 @@ IF os$ = "LNX" THEN
OPEN path.exe$ + file$ + extension$ + "_start.command" FOR OUTPUT AS #ff
PRINT #ff, "cd " + CHR$(34) + "$(dirname " + CHR$(34) + "$0" + CHR$(34) + ")" + CHR$(34);
PRINT #ff, CHR$(10);
PRINT #ff, "./" + file$ + extension$ + " &";
PRINT #ff, "./" + CHR$(34) + file$ + extension$ + CHR$(34) + " &";
PRINT #ff, CHR$(10);
PRINT #ff, "osascript -e 'tell application " + CHR$(34) + "Terminal" + CHR$(34) + " to close (every window whose name contains " + CHR$(34) + file$ + extension$ + "_start.command" + CHR$(34) + ")' &";
PRINT #ff, CHR$(10);
Expand Down

0 comments on commit 0504b6f

Please sign in to comment.