Skip to content

Commit 19aca93

Browse files
awhitchurchclaude
andcommitted
Unbreak the Windows release build
windows-latest moved to MSVC 14.51, whose STL turns <experimental/coroutine> into a hard error (STL1011). permission_handler_windows 0.2.1 still includes it, so `flutter build windows --release` fails outright. Silence it via the CL env var — cl.exe reads extra flags from it — rather than patching a transitive plugin. Revert when permission_handler_windows moves to <coroutine>. Also add the store badges and the macOS quarantine note to the README. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 05dedcd commit 19aca93

2 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ jobs:
124124
flutter pub get
125125
126126
- name: Build Windows release
127+
env:
128+
# MSVC 14.51 (VS 18, on windows-latest) makes <experimental/coroutine>
129+
# a hard error — STL1011 — and permission_handler_windows still
130+
# includes it. cl.exe picks up extra flags from the CL env var, so we
131+
# can silence it here instead of patching the plugin. Remove once
132+
# permission_handler_windows moves to <coroutine>.
133+
CL: /D_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS
127134
run: flutter build windows --release
128135

129136
- name: Package

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Stream live data over USB, BLE or Wi-Fi · visualize it in real time · record i
1010
[![Release builds](https://github.com/Protocentral/protocentral_openview/actions/workflows/release.yml/badge.svg)](https://github.com/Protocentral/protocentral_openview/actions/workflows/release.yml)
1111
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](#license)
1212

13-
[**Download**](https://github.com/Protocentral/protocentral_openview/releases) · [Supported boards](#supported-boards) · [Build from source](#build-from-source) · [Add your own board](#add-your-own-board)
13+
[![Download on the App Store](docs/images/appstore.png)](https://apps.apple.com/app/id1667747246) [![Get it on Google Play](docs/images/play_store.png)](https://play.google.com/store/apps/details?id=com.protocentral.openview)
14+
15+
[**Desktop download**](https://github.com/Protocentral/protocentral_openview/releases) · [Supported boards](#supported-boards) · [Build from source](#build-from-source) · [Add your own board](#add-your-own-board)
1416

1517
![OpenView live view](docs/images/openview-live-desktop.png)
1618

@@ -66,16 +68,28 @@ Don't see your board? It takes three files and no changes to the app — see
6668
### Desktop
6769

6870
Download the zip for your OS from the [Releases](https://github.com/Protocentral/protocentral_openview/releases)
69-
page, extract it, and run the app.
71+
page, extract it, and run the app. Verify the download against `SHA256SUMS.txt`
72+
if you like.
73+
74+
The macOS build is ad-hoc signed, not notarized, so the first launch is blocked
75+
with *"Apple cannot check it for malicious software"*. Right-click the app and
76+
choose **Open**, or clear the quarantine flag:
77+
78+
```sh
79+
xattr -dr com.apple.quarantine OpenView.app
80+
```
7081

7182
### Mobile
7283

7384
<div align="center">
7485

75-
[![Google Play](docs/images/play_store.png)](https://play.google.com/store/apps/details?id=com.protocentral.openview) [![App Store](docs/images/appstore.png)](https://apps.apple.com/fi/app/openview/id1667747246)
86+
[![Download on the App Store](docs/images/appstore.png)](https://apps.apple.com/app/id1667747246) [![Get it on Google Play](docs/images/play_store.png)](https://play.google.com/store/apps/details?id=com.protocentral.openview)
7687

7788
</div>
7889

90+
The App Store listing covers iPhone, iPad **and Apple Silicon Macs** — on an M-series
91+
Mac you can install it straight from the Mac App Store instead of the zip above.
92+
7993
> **Note** — USB is not available on mobile. Use BLE or Wi-Fi.
8094
8195
## Screenshots

0 commit comments

Comments
 (0)