The macOS client and server were completely unusable when run from a terminal. They blocked forever in `[NSApp run];` which was called by Sys_InitProtocolHandler(). `applicationDidFinishLaunching` was never called to exit the NSApp run loop. Use SDL's SDL_DROPFILE event to receive URLs to handle on macOS instead. This also handles URLs while the game is running (connect to new server) instead of nothing happening when clicking a link while the game is running. |
||
|---|---|---|
| .. | ||
| sdl_gamma.c | ||
| sdl_glimp.c | ||
| sdl_icon.h | ||
| sdl_input.c | ||
| sdl_snd.c | ||