fix for targeting macos 10.12

note that this will no longer be possible once macos-12 is removed from CI eventually
This commit is contained in:
pentarctagon 2024-05-31 11:33:07 -05:00
parent 858df2d491
commit 1629258d9b
2 changed files with 4 additions and 1 deletions

View file

@ -248,9 +248,10 @@ jobs:
fail-fast: false
matrix:
cfg: [ Debug, Release ]
runs-on: macos-14
runs-on: macos-12
env:
CFG: ${{ matrix.cfg }}
DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
steps:
- uses: actions/checkout@v4

View file

@ -933,6 +933,8 @@ int main(int argc, char** argv)
}
}
PLAIN_LOG << preferences::chat_lines();
// Some switches force a Windows console to be attached to the process even
// if Wesnoth is an IMAGE_SUBSYSTEM_WINDOWS_GUI executable because they
// turn it into a CLI application. Also, --no-log-to-file in particular attaches