File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -468,6 +468,11 @@ jobs:
468468 # deploy it there or the lobby is a black screen (game=generic ->
469469 # interface_root crashes on missing ShortenNameString -> Chobby nil).
470470 cp -f "\$GAME_DIR/chobby_config.json" "\$USER_DATA/chobby_config.json"
471+ # First-run window defaults: a normal bordered, resizable window.
472+ # The engine default is fullscreen, and borderless-windowed has no
473+ # resize controls on macOS, so seed a windowed/bordered config if the
474+ # user has none yet (their later changes via the lobby are preserved).
475+ [ -f "\$USER_DATA/springsettings.cfg" ] || printf 'Fullscreen = 0\nWindowBorderless = 0\n' > "\$USER_DATA/springsettings.cfg"
471476 # Do NOT set DYLD_LIBRARY_PATH — it overrides the system OpenGL
472477 # framework globally, breaking NSOpenGLContext inside SDL2's
473478 # Cocoa backend (SIGBUS in +[NSOpenGLContext currentContext]).
You can’t perform that action at this time.
0 commit comments