From a22b27992a7644fd66af1bdf7f9134753b1882bc Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 12:12:42 +0000 Subject: [PATCH 1/3] ci: build macOS desktop apps (osx-arm64, osx-x64) Align the desktop targets with SharpMediaInfo: Windows x64/arm64, Linux x64/arm64 and now macOS arm64/x64, both published from one Apple Silicon runner and shipped in the PR pre-release and the release. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1 --- .github/workflows/ci.yml | 64 ++++++++++++++++++++++++++++++++++++++-- README.md | 2 +- 2 files changed, 63 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9830090..6202102 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,6 +209,66 @@ jobs: path: '*.tar.gz' if-no-files-found: error + # Both macOS RIDs on one Apple Silicon runner (Intel macOS runner images are retired): the + # apphost must be built (and ad-hoc signed) on macOS to start on Apple Silicon. + build-macos: + name: Build macOS (osx-arm64, osx-x64) + runs-on: macos-latest + needs: [version] + env: + VERSION: ${{ needs.version.outputs.version }} + VERSION_SUFFIX: ${{ needs.version.outputs.version_suffix }} + + steps: + - uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Setup .NET + uses: actions/setup-dotnet@v6 + with: + dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-quality: 'ga' + + - name: Cache NuGet + uses: actions/cache@v6 + with: + path: ${{ env.NUGET_PACKAGES }} + key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', 'Directory.Packages.props', 'Directory.Build.props', 'BuildVersion.props') }} + restore-keys: nuget-${{ runner.os }}- + + - name: Install android workload + run: dotnet workload install android + + - name: Publish and package desktop app + run: | + for RID in osx-arm64 osx-x64; do + dotnet publish "$DESKTOP_PROJECT" \ + -c Release \ + -f net10.0 \ + -p:TargetFrameworks=net10.0 \ + -r "$RID" \ + --self-contained true \ + -p:VersionSuffix="$VERSION_SUFFIX" \ + -p:PublishSingleFile=true \ + -p:IncludeNativeLibrariesForSelfExtract=true \ + -p:EnableCompressionInSingleFile=true \ + -p:DebugType=embedded \ + -p:ContinuousIntegrationBuild=true \ + -p:EnableWindowsTargeting=true \ + -o "artifacts/$RID" + chmod +x "artifacts/$RID/Letra200bSharp.Avalonia.Desktop" + tar -C "artifacts/$RID" -czf "Letra200bSharp-${VERSION}-${RID}.tar.gz" . + done + ls -lh Letra200bSharp-*.tar.gz + + - name: Upload desktop artifact + uses: actions/upload-artifact@v7 + with: + name: desktop-osx + path: '*.tar.gz' + if-no-files-found: error + build-android: name: Build Android APK runs-on: ubuntu-latest @@ -289,7 +349,7 @@ jobs: prerelease: name: PR Pre-release runs-on: ubuntu-latest - needs: [version, build-windows, build-linux, build-android] + needs: [version, build-windows, build-linux, build-macos, build-android] # Same-repository PRs only. A fork's pull_request run gets a read-only token, and this # deliberately doesn't use pull_request_target: that would run untrusted fork code with a # write token. Fork PRs still build and upload workflow artifacts, just no GitHub pre-release. @@ -395,7 +455,7 @@ jobs: release: name: Tag & Release runs-on: ubuntu-latest - needs: [version, build-windows, build-linux, build-android] + needs: [version, build-windows, build-linux, build-macos, build-android] if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' permissions: contents: write diff --git a/README.md b/README.md index d13cf65..12f462f 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ C# library and mobile and desktop applications for printing images to a Dymo Let - Logic for resizing / converting an input image to a matrix representing the black and white pixels of the image - Protocol for communicating with the device - **Letra200bSharp.Avalonia** is a cross-platform Avalonia application with a tab each for printing an image, text, or a 1D barcode label, plus a **History** tab that keeps the last 50 successful prints (with a thumbnail) and lets you reprint a text or barcode job with one tap. Follows the system's light/dark theme and adapts its layout to the available width, from phone to desktop - - **Letra200bSharp.Avalonia.Desktop** is the Windows/Linux desktop app. Launched with no arguments it opens the GUI; launched with arguments it instead runs headless as a CLI, with one verb per tab - `image`, `text`, `barcode` - plus `list-devices` to scan for nearby printers (run with `--help`, or ` --help`, for the full option list) + - **Letra200bSharp.Avalonia.Desktop** is the Windows/Linux/macOS desktop app (the macOS builds are published as `osx-arm64`/`osx-x64`, but InTheHand.BluetoothLE has no macOS backend for plain `net10.0`, so printing from macOS is untested). Launched with no arguments it opens the GUI; launched with arguments it instead runs headless as a CLI, with one verb per tab - `image`, `text`, `barcode` - plus `list-devices` to scan for nearby printers (run with `--help`, or ` --help`, for the full option list) - **Letra200bSharp.Avalonia.Android** is a Avalonia android mobile application that easily lets you select a device and an image, text or barcode label for sending to the LetraTag 200B ## Screenshots From e5a3bfcadcda92eecdb5c775025755314a65b1c0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 12:22:10 +0000 Subject: [PATCH 2/3] macOS: ship a Mac Catalyst head so Bluetooth uses CoreBluetooth InTheHand.BluetoothLE only has its CoreBluetooth backend in the maccatalyst/ios builds; a plain net10.0 macOS build gets the BlueZ (Linux) one and can never scan. Add Letra200bSharp.Avalonia.MacCatalyst (Avalonia.iOS on net10.0-maccatalyst, with NSBluetoothAlwaysUsageDescription) and build it in CI for maccatalyst-arm64 and maccatalyst-x64 instead of the net10.0 osx desktop builds, released as ad-hoc signed LabelStudio200B.app zips named osx-arm64/osx-x64. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1 --- .github/workflows/ci.yml | 51 ++++++++++--------- Directory.Packages.props | 3 ++ .../AppDelegate.cs | 17 +++++++ .../Info.plist | 26 ++++++++++ ...Letra200bSharp.Avalonia.MacCatalyst.csproj | 35 +++++++++++++ Letra200bSharp.Avalonia.MacCatalyst/Main.cs | 13 +++++ .../ViewModels/AboutTabViewModel.cs | 7 +-- Letra200bSharp.slnx | 3 ++ README.md | 7 +-- 9 files changed, 132 insertions(+), 30 deletions(-) create mode 100644 Letra200bSharp.Avalonia.MacCatalyst/AppDelegate.cs create mode 100644 Letra200bSharp.Avalonia.MacCatalyst/Info.plist create mode 100644 Letra200bSharp.Avalonia.MacCatalyst/Letra200bSharp.Avalonia.MacCatalyst.csproj create mode 100644 Letra200bSharp.Avalonia.MacCatalyst/Main.cs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6202102..fb91e80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,15 +209,18 @@ jobs: path: '*.tar.gz' if-no-files-found: error - # Both macOS RIDs on one Apple Silicon runner (Intel macOS runner images are retired): the - # apphost must be built (and ad-hoc signed) on macOS to start on Apple Silicon. + # macOS ships as a Mac Catalyst app, not a plain net10.0 desktop build: InTheHand.BluetoothLE + # only has its CoreBluetooth backend for maccatalyst (plain net10.0 means BlueZ, Linux-only). + # Both architectures on one Apple Silicon runner (Intel macOS runner images are retired); + # the .app is ad-hoc signed, which is enough for it to start on Apple Silicon. build-macos: name: Build macOS (osx-arm64, osx-x64) - runs-on: macos-latest + runs-on: macos-26 needs: [version] env: VERSION: ${{ needs.version.outputs.version }} VERSION_SUFFIX: ${{ needs.version.outputs.version_suffix }} + MACCATALYST_PROJECT: Letra200bSharp.Avalonia.MacCatalyst/Letra200bSharp.Avalonia.MacCatalyst.csproj steps: - uses: actions/checkout@v7 @@ -237,36 +240,36 @@ jobs: key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', 'Directory.Packages.props', 'Directory.Build.props', 'BuildVersion.props') }} restore-keys: nuget-${{ runner.os }}- - - name: Install android workload - run: dotnet workload install android + # android: the shared Letra200bSharp library also targets net10.0-android. + - name: Install maccatalyst and android workloads + run: dotnet workload install maccatalyst android - - name: Publish and package desktop app + - name: Publish and package Mac Catalyst app run: | - for RID in osx-arm64 osx-x64; do - dotnet publish "$DESKTOP_PROJECT" \ + for ARCH in arm64 x64; do + dotnet publish "$MACCATALYST_PROJECT" \ -c Release \ - -f net10.0 \ - -p:TargetFrameworks=net10.0 \ - -r "$RID" \ - --self-contained true \ + -f net10.0-maccatalyst \ + -r "maccatalyst-$ARCH" \ -p:VersionSuffix="$VERSION_SUFFIX" \ - -p:PublishSingleFile=true \ - -p:IncludeNativeLibrariesForSelfExtract=true \ - -p:EnableCompressionInSingleFile=true \ - -p:DebugType=embedded \ - -p:ContinuousIntegrationBuild=true \ - -p:EnableWindowsTargeting=true \ - -o "artifacts/$RID" - chmod +x "artifacts/$RID/Letra200bSharp.Avalonia.Desktop" - tar -C "artifacts/$RID" -czf "Letra200bSharp-${VERSION}-${RID}.tar.gz" . + -p:ContinuousIntegrationBuild=true + APP=$(find Letra200bSharp.Avalonia.MacCatalyst/bin/Release/net10.0-maccatalyst/maccatalyst-$ARCH \ + -maxdepth 1 -name '*.app' -type d | head -n1) + if [ -z "$APP" ]; then + echo "::error::No .app produced for maccatalyst-$ARCH" + exit 1 + fi + codesign --verify --verbose "$APP" + # ditto keeps the bundle's symlinks, extended attributes and signature intact. + ditto -c -k --keepParent "$APP" "Letra200bSharp-${VERSION}-osx-${ARCH}.zip" done - ls -lh Letra200bSharp-*.tar.gz + ls -lh Letra200bSharp-*.zip - - name: Upload desktop artifact + - name: Upload macOS artifact uses: actions/upload-artifact@v7 with: name: desktop-osx - path: '*.tar.gz' + path: '*.zip' if-no-files-found: error build-android: diff --git a/Directory.Packages.props b/Directory.Packages.props index 9b8f38f..489a609 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -26,6 +26,9 @@ then duplicates them and D8 fails. Pin core-ktx to the matching 1.19 stub. --> + + + diff --git a/Letra200bSharp.Avalonia.MacCatalyst/AppDelegate.cs b/Letra200bSharp.Avalonia.MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..e1f11c8 --- /dev/null +++ b/Letra200bSharp.Avalonia.MacCatalyst/AppDelegate.cs @@ -0,0 +1,17 @@ +using Avalonia; +using Avalonia.iOS; +using Foundation; + +namespace Letra200bSharp.Avalonia.MacCatalyst; + +// The UIApplicationDelegate for the application. This class is responsible for launching the +// User Interface of the application, as well as listening (and optionally responding) to +// application events from the OS. +[Register("AppDelegate")] +public partial class AppDelegate : AvaloniaAppDelegate +{ + protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) + { + return base.CustomizeAppBuilder(builder); + } +} diff --git a/Letra200bSharp.Avalonia.MacCatalyst/Info.plist b/Letra200bSharp.Avalonia.MacCatalyst/Info.plist new file mode 100644 index 0000000..2d82a46 --- /dev/null +++ b/Letra200bSharp.Avalonia.MacCatalyst/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDisplayName + Label Studio 200B + + UIDeviceFamily + + 6 + + LSApplicationCategoryType + public.app-category.utilities + + NSBluetoothAlwaysUsageDescription + Label Studio 200B uses Bluetooth to find and print to your LetraTag 200B label printer. + UIRequiresFullScreen + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Letra200bSharp.Avalonia.MacCatalyst/Letra200bSharp.Avalonia.MacCatalyst.csproj b/Letra200bSharp.Avalonia.MacCatalyst/Letra200bSharp.Avalonia.MacCatalyst.csproj new file mode 100644 index 0000000..4b65b73 --- /dev/null +++ b/Letra200bSharp.Avalonia.MacCatalyst/Letra200bSharp.Avalonia.MacCatalyst.csproj @@ -0,0 +1,35 @@ + + + + Exe + net10.0-maccatalyst + + 15.0 + enable + enable + com.Letra200bSharp.Avalonia + Label Studio 200B + + LabelStudio200B + $(VersionPrefix) + $(VersionPrefix) + Label Studio 200B + Label Studio 200B + + false + true + - + + + + + + + + + + diff --git a/Letra200bSharp.Avalonia.MacCatalyst/Main.cs b/Letra200bSharp.Avalonia.MacCatalyst/Main.cs new file mode 100644 index 0000000..c40333e --- /dev/null +++ b/Letra200bSharp.Avalonia.MacCatalyst/Main.cs @@ -0,0 +1,13 @@ +using UIKit; + +namespace Letra200bSharp.Avalonia.MacCatalyst; + +public static class Program +{ + // This is the main entry point of the application. + public static void Main(string[] args) + { + // "AppDelegate" is registered with the Objective-C runtime by [Register] above. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/Letra200bSharp.Avalonia/ViewModels/AboutTabViewModel.cs b/Letra200bSharp.Avalonia/ViewModels/AboutTabViewModel.cs index 81e7848..ebd3141 100644 --- a/Letra200bSharp.Avalonia/ViewModels/AboutTabViewModel.cs +++ b/Letra200bSharp.Avalonia/ViewModels/AboutTabViewModel.cs @@ -48,13 +48,14 @@ private static IReadOnlyList BuildLibraries() new("SkiaSharp", "https://github.com/mono/SkiaSharp", "Image processing - resizing/thresholding source images, rendering text and barcodes, generating label previews"), new("InTheHand.BluetoothLE", "https://github.com/inthehand/32feet", "Cross-platform Bluetooth LE scanning and GATT communication with the printer"), new("CodeGlyphX", "https://github.com/EvotecIT/CodeGlyphX", "Encoding 1D (Code128, Code39, EAN/UPC, ...) and 2D (QR, Micro QR, rMQR, Data Matrix) barcode data into the module pattern printed on the label"), - new("Avalonia", "https://avaloniaui.net/", "Cross-platform UI framework behind the desktop and Android apps"), + new("Avalonia", "https://avaloniaui.net/", "Cross-platform UI framework behind the desktop, macOS and Android apps"), new("SukiUI", "https://github.com/kikipoulet/SukiUI", "The app's visual theme - light/dark styling, toast notifications, busy overlays"), new("CommunityToolkit.Mvvm", "https://learn.microsoft.com/en-gb/dotnet/communitytoolkit/", "MVVM boilerplate - source-generated observable properties and relay commands"), }; - // Only the Android head lacks a CLI entirely - both desktop TFMs (Windows and Linux) build it in. - if (!OperatingSystem.IsAndroid()) + // Only the Android and Mac Catalyst (macOS) heads lack a CLI entirely - both desktop + // TFMs (Windows and Linux) build it in. IsIOS() is also true on Mac Catalyst. + if (!OperatingSystem.IsAndroid() && !OperatingSystem.IsIOS()) { libraries.Add(new("CommandLineParser", "https://github.com/commandlineparser/commandline", "Parsing arguments in the desktop app's headless CLI mode")); } diff --git a/Letra200bSharp.slnx b/Letra200bSharp.slnx index e263b49..cc1c013 100644 --- a/Letra200bSharp.slnx +++ b/Letra200bSharp.slnx @@ -33,6 +33,9 @@ + + + diff --git a/README.md b/README.md index 12f462f..b2ac2f3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![.NET 10](https://img.shields.io/badge/.NET-10-512BD4?logo=dotnet&logoColor=white)](https://dotnet.microsoft.com/) -[![Platforms](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20Android-lightgrey)](#repository-contents) +[![Platforms](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS%20%7C%20Android-lightgrey)](#repository-contents) [![Made with Avalonia](https://img.shields.io/badge/made%20with-Avalonia-7c4dff)](https://avaloniaui.net/) C# library and mobile and desktop applications for printing images to a Dymo LetraTag 200B labelprinter, fork of [letra200bsharp](https://github.com/brz/letra200bsharp). @@ -12,7 +12,8 @@ C# library and mobile and desktop applications for printing images to a Dymo Let - Logic for resizing / converting an input image to a matrix representing the black and white pixels of the image - Protocol for communicating with the device - **Letra200bSharp.Avalonia** is a cross-platform Avalonia application with a tab each for printing an image, text, or a 1D barcode label, plus a **History** tab that keeps the last 50 successful prints (with a thumbnail) and lets you reprint a text or barcode job with one tap. Follows the system's light/dark theme and adapts its layout to the available width, from phone to desktop - - **Letra200bSharp.Avalonia.Desktop** is the Windows/Linux/macOS desktop app (the macOS builds are published as `osx-arm64`/`osx-x64`, but InTheHand.BluetoothLE has no macOS backend for plain `net10.0`, so printing from macOS is untested). Launched with no arguments it opens the GUI; launched with arguments it instead runs headless as a CLI, with one verb per tab - `image`, `text`, `barcode` - plus `list-devices` to scan for nearby printers (run with `--help`, or ` --help`, for the full option list) + - **Letra200bSharp.Avalonia.Desktop** is the Windows/Linux desktop app. Launched with no arguments it opens the GUI; launched with arguments it instead runs headless as a CLI, with one verb per tab - `image`, `text`, `barcode` - plus `list-devices` to scan for nearby printers (run with `--help`, or ` --help`, for the full option list) + - **Letra200bSharp.Avalonia.MacCatalyst** is the macOS app (Mac Catalyst, released as `osx-arm64` and `osx-x64`). It is a Mac Catalyst head rather than a `net10.0` desktop build because InTheHand.BluetoothLE only ships its CoreBluetooth backend for `maccatalyst`/`ios`; it has the GUI only, no CLI. The `.app` is ad-hoc signed, not notarized: on first launch right-click it and choose **Open** (or run `xattr -dr com.apple.quarantine LabelStudio200B.app`) - **Letra200bSharp.Avalonia.Android** is a Avalonia android mobile application that easily lets you select a device and an image, text or barcode label for sending to the LetraTag 200B ## Screenshots @@ -26,7 +27,7 @@ Each row shows the phone (light/dark) and desktop (light/dark) apps for that tab ## Used libraries - [SkiaSharp](https://github.com/mono/SkiaSharp) for all image processing - resizing/thresholding source images, rendering text and barcodes to a bitmap, and generating the label previews -- [InTheHand.BluetoothLE](https://github.com/inthehand/32feet) for cross-platform Bluetooth LE scanning and GATT communication with the printer (Windows, Linux, Android) +- [InTheHand.BluetoothLE](https://github.com/inthehand/32feet) for cross-platform Bluetooth LE scanning and GATT communication with the printer (Windows, Linux, macOS, Android) - [CodeGlyphX](https://github.com/EvotecIT/CodeGlyphX) for encoding barcode data into the module pattern rendered onto the label - both 1D (Code128, Code39, Codabar, ITF, EAN/UPC, ...) and 2D (QR, Micro QR, rMQR, Data Matrix) - [Avalonia](https://avaloniaui.net/) as the cross-platform UI framework behind the desktop and Android apps - [SukiUI](https://github.com/kikipoulet/SukiUI) for the app's visual theme - light/dark styling, the toast notifications, and the busy/loading overlay on the label previews From 65208f2a088987acba3d85ce79589f15831478ac Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 1 Nov 2026 12:25:05 +0000 Subject: [PATCH 3/3] ci: disable the macOS build until it can be tried on a Mac The Mac Catalyst head stays in the solution; the build-macos job is skipped and no longer gates the pre-release and release. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyVio818RrjG7TZaUZc7s1 --- .github/workflows/ci.yml | 8 ++++++-- README.md | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb91e80..a56990c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -213,8 +213,12 @@ jobs: # only has its CoreBluetooth backend for maccatalyst (plain net10.0 means BlueZ, Linux-only). # Both architectures on one Apple Silicon runner (Intel macOS runner images are retired); # the .app is ad-hoc signed, which is enough for it to start on Apple Silicon. + # + # Disabled for now: there is no Mac to try the app on yet. To turn it back on, drop the + # `if:` below and add build-macos back to the `needs:` of prerelease and release. build-macos: name: Build macOS (osx-arm64, osx-x64) + if: ${{ false }} runs-on: macos-26 needs: [version] env: @@ -352,7 +356,7 @@ jobs: prerelease: name: PR Pre-release runs-on: ubuntu-latest - needs: [version, build-windows, build-linux, build-macos, build-android] + needs: [version, build-windows, build-linux, build-android] # Same-repository PRs only. A fork's pull_request run gets a read-only token, and this # deliberately doesn't use pull_request_target: that would run untrusted fork code with a # write token. Fork PRs still build and upload workflow artifacts, just no GitHub pre-release. @@ -458,7 +462,7 @@ jobs: release: name: Tag & Release runs-on: ubuntu-latest - needs: [version, build-windows, build-linux, build-macos, build-android] + needs: [version, build-windows, build-linux, build-android] if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' permissions: contents: write diff --git a/README.md b/README.md index b2ac2f3..1016868 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![.NET 10](https://img.shields.io/badge/.NET-10-512BD4?logo=dotnet&logoColor=white)](https://dotnet.microsoft.com/) -[![Platforms](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20macOS%20%7C%20Android-lightgrey)](#repository-contents) +[![Platforms](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20%7C%20Android-lightgrey)](#repository-contents) [![Made with Avalonia](https://img.shields.io/badge/made%20with-Avalonia-7c4dff)](https://avaloniaui.net/) C# library and mobile and desktop applications for printing images to a Dymo LetraTag 200B labelprinter, fork of [letra200bsharp](https://github.com/brz/letra200bsharp). @@ -13,7 +13,7 @@ C# library and mobile and desktop applications for printing images to a Dymo Let - Protocol for communicating with the device - **Letra200bSharp.Avalonia** is a cross-platform Avalonia application with a tab each for printing an image, text, or a 1D barcode label, plus a **History** tab that keeps the last 50 successful prints (with a thumbnail) and lets you reprint a text or barcode job with one tap. Follows the system's light/dark theme and adapts its layout to the available width, from phone to desktop - **Letra200bSharp.Avalonia.Desktop** is the Windows/Linux desktop app. Launched with no arguments it opens the GUI; launched with arguments it instead runs headless as a CLI, with one verb per tab - `image`, `text`, `barcode` - plus `list-devices` to scan for nearby printers (run with `--help`, or ` --help`, for the full option list) - - **Letra200bSharp.Avalonia.MacCatalyst** is the macOS app (Mac Catalyst, released as `osx-arm64` and `osx-x64`). It is a Mac Catalyst head rather than a `net10.0` desktop build because InTheHand.BluetoothLE only ships its CoreBluetooth backend for `maccatalyst`/`ios`; it has the GUI only, no CLI. The `.app` is ad-hoc signed, not notarized: on first launch right-click it and choose **Open** (or run `xattr -dr com.apple.quarantine LabelStudio200B.app`) + - **Letra200bSharp.Avalonia.MacCatalyst** is the macOS app (Mac Catalyst, `osx-arm64` and `osx-x64`; not built by CI or released yet, as it hasn't been tried on a Mac). It is a Mac Catalyst head rather than a `net10.0` desktop build because InTheHand.BluetoothLE only ships its CoreBluetooth backend for `maccatalyst`/`ios`; it has the GUI only, no CLI. The `.app` is ad-hoc signed, not notarized: on first launch right-click it and choose **Open** (or run `xattr -dr com.apple.quarantine LabelStudio200B.app`) - **Letra200bSharp.Avalonia.Android** is a Avalonia android mobile application that easily lets you select a device and an image, text or barcode label for sending to the LetraTag 200B ## Screenshots