diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8343f5b..2a7897e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -249,10 +249,10 @@ jobs: [Files] Source: "build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs [Icons] - Name: "{group}\OpenLibExtended"; Filename: "{app}\OpenLibExtended.exe" - Name: "{autodesktop}\OpenLibExtended"; Filename: "{app}\OpenLibExtended.exe" + Name: "{group}\OpenLibExtended"; Filename: "{app}\OpenlibExtended.exe" + Name: "{autodesktop}\OpenLibExtended"; Filename: "{app}\OpenlibExtended.exe" [Run] - Filename: "{app}\OpenLibExtended.exe"; Description: "Launch OpenLibExtended"; Flags: nowait postinstall skipifsilent + Filename: "{app}\OpenlibExtended.exe"; Description: "Launch OpenLibExtended"; Flags: nowait postinstall skipifsilent "@ | Out-File -FilePath "installer.iss" -Encoding UTF8 mkdir artifacts & "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer.iss diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index ed0208d..2038013 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -32,6 +32,16 @@ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") # Use Unicode for all projects. add_definitions(-DUNICODE -D_UNICODE) +# MSVC 14.51 (Visual Studio 2026) promoted the +# deprecation to a hard error (STL1011). Two plugins still reach that header +# through C++/WinRT: flutter_inappwebview_windows compiles as C++17, so +# falls back to the experimental header, and +# permission_handler_windows builds with /await, which selects the experimental +# coroutine machinery outright. Both are regenerated under +# flutter/ephemeral/.plugin_symlinks by `flutter pub get`, so the opt-out is set +# here, ahead of the plugin subdirectories below, to reach every plugin target. +add_definitions(-D_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS) + # Compilation settings that should be applied to most targets. # # Be cautious about adding new options here, as plugins use this function by