# Helping with macOS and Windows

> The macOS and Windows code compiles but has never run. With a Mac or a Windows machine, you can help, step by step.

Page: https://skwir.org/docs/help-wanted · Source: https://github.com/skwir-org/skwir/blob/main/docs/HELP-WANTED.md

Skwir is released for Linux only. Its code for macOS and Windows
compiles (`just check-cross`), each release offers builds to try on both,
and the Windows build's tests pass under Wine, but none of it has run on
a real Mac or Windows machine: nobody working on Skwir has one. If you
do, you can help.

Below are the steps each release needs, best done in order. Details are in
[`docs/PORTING.md`](https://github.com/skwir-org/skwir/blob/main/docs/PORTING.md) ("PORTING"); ADR-035 explains the split.

- **try**: no programming. Run Skwir and report what happened.
- **code**: needs someone who writes Rust on that system.

## Before you start

**Build.** Install Rust with [rustup](https://rustup.rs); in the repository
it uses the version `rust-toolchain.toml` pins (Skwir builds with 1.97 or
later). On a Mac, install Xcode's command line tools
(`xcode-select --install`); on Windows, the MSVC build tools. Then:

```
cargo build --release -p skwir
target/release/skwir
```

The helpers that link native libraries (Poppler, MuPDF, GStreamer,
libarchive) are not needed to start.

**Test.**

```
cargo install cargo-nextest
cargo nextest run -p skwir-core -p skwir-platform
```

nextest first runs `tools/test/isolate-xdg.sh` (with `sh`: Git's on
Windows, as in CI). On Linux that keeps the tests away from your Trash,
settings and cache; on macOS and Windows it does not: Skwir's folders and
the trash there are the system's. Tests that trash a fixture put it in
your Trash or Recycle Bin: on Windows they take theirs back out, on macOS
they stay there (folders named `t-…`, from `~/.cache/skwir-tests`), to
empty with the Trash. Run them in an account of your own if that matters.
A failing test is a finding: report which and what it printed.

**Report** in [the issue tracker](https://skwir.org/issues): open a new
issue with its "macOS or Windows" form, naming the step (for example
"macOS 3, Files"). Include:

- the system's version and the machine (processor, GPU);
- what you did, what you expected, what happened;
- the log: run with `RUST_LOG=skwir=debug` (PowerShell:
  `$env:RUST_LOG="skwir=debug"` first).

Rename anything personal in paths and screenshots before sharing: a folder
called `taxes 2026` can be `folder a`.

## macOS

A build to try is made on Linux for Apple silicon (ADR-075), offered
beside Windows' on each release's page: `skwir-<version>-macos-arm64.dmg`, a disk image to drag
`skwir.app` from to Applications, or the same in a zip,
`skwir-<version>-macos-arm64.zip`; for macOS 12 or later. It is signed ad hoc but not notarized, so macOS refuses
it at first: open it once from System Settings, Privacy & Security ("Open
Anyway"), or run `xattr -dr com.apple.quarantine skwir.app`. Every
build so far, 0.7.0's included, fails macOS's check of its signature in
the GStreamer framework it carries (`codesign --verify --deep --strict`),
so macOS may say the app is damaged, with no Open Anyway: the `xattr`
command is then the way to try it. Homebrew's cask waits for a build that
passes that check. It reads PDFs,
DjVu, 3D models and archives and plays audio and video; the Poppler and
MuPDF readers are not in it yet. It has never run anywhere: everything below is
new. Intel Macs have no build yet.

1. **It opens** (try). The window draws, a folder lists, the sidebar shows
   the home folder's places and the volumes under `/Volumes`, scrolling a
   large folder stays smooth, and idle CPU returns to about 0% (Activity
   Monitor). The window compiles its shaders as it starts: say how long it
   takes to appear (`first frame … after start` in the log, run
   `skwir.app/Contents/MacOS/skwir` from a terminal to see it). PORTING
   sections 1, 6.
2. **Tests** (try). The tests above pass natively. PORTING "Tests that run
   on Linux alone" lists what is skipped and why.
3. **Files** (try). Copy, move, rename, swap two names (rename each to the
   other's), move to Trash, and undo each; Finder's tags survive a copy.
   These use `renameatx_np`, `clonefile` and `trashItemAtURL`, which have
   never run (PORTING sections 3, 4, 5). Nothing may be lost: compare the
   files before and after.
4. **Types and pictures** (try). Files show the right kind and icon (UTType,
   `NSWorkspace`); thumbnails come from Quick Look (PORTING sections 7, 8).
   Report which files look wrong.
5. **Colors** (try). With Colors from on Automatic, the window wears the
   colors macOS draws its own windows in, light and dark: compare a
   folder with Finder's. Change the accent and turn Increase contrast on
   in System Settings, then come back to Skwir: it reads them again as it
   is activated. Never run on a Mac (ADR-071, PORTING section 6).
6. **Archives** (try). Open a ZIP, a 7z, a RAR and a tar.gz in the preview;
   extract one, and one downloaded, whose files should stay in quarantine
   (Gatekeeper asks before a program from it first runs); compress a
   folder in each format and open what is made in Archive Utility. Names
   with accents and other scripts should come through both ways. The
   helper carries its libarchive, built on Linux and never run (PORTING
   section 8).
7. **Audio and video** (try). Play films (MP4, MKV, an iPhone's HEVC),
   music (MP3, FLAC, AAC), change a film's audio track and subtitles, its
   speed, seek, and play it on the whole screen. Say whether the hardware
   decodes (Activity Monitor: the helper's CPU stays low on a 4K film) and
   how long the first file takes (GStreamer reads its plugins once). It
   plays through the GStreamer the bundle carries (ADR-076), never run on
   a Mac (PORTING section 8).
8. **Keys** (try). Cmd is the standard modifier; Ctrl where macOS keeps Cmd
   for itself (PORTING "10–15"). Report shortcuts that do the wrong thing.
   A drag's copy modifier should be Option (not done).
9. **Isolation** (code). Converters (LibreOffice, Pandoc, ImageMagick) and
   plugins from outside run under `sandbox-exec` with Skwir's profile
   (`platform/src/sandbox.rs`, ADR-039). Find what the profile must let
   through for each to start; without it they are refused.
10. **What is not written** (code): ejecting a volume (DiskArbitration); the
   trash's listing (`~/.Trash` records no origin); Finder's favorites as
   bookmarks; media keys (Now Playing). PORTING sections 4, 6, 8, "10–15".
11. **The package** (code). `tools/package/macos.sh` makes `skwir.app` on
   Linux (ADR-075); try it on a fresh account, and moved to Applications.
   An Intel build and the helpers that link libraries (Poppler, MuPDF)
   are not done.
   Notarization needs an Apple developer identity: the project decides that
   with you.
12. **CI** (code). The `native` job in `.github/workflows/full.yml` builds,
   lints and tests on `macos-latest`. It does not block merging until it
   passes.

13. **The title bar** (try). Settings › Appearance › Title bar: Compact
   and In the top row make the title bar transparent and put the traffic
   lights in Skwir's first row, in its middle, with room before the
   sidebar's button; System gives macOS's back, on the open window too.
   Dragging the row's empty parts moves the window, a double click does
   what System Settings say (zoom or minimize), but beside the tabs opens
   a tab. Say where the lights sit and whether anything overlaps them
   (ADR-138).

14. **Your language** (try). With French or Simplified Chinese first in
   System Settings › General › Language & Region (or chosen for Skwir
   alone there), the window speaks it, saying once that it is a draft;
   dates, times, numbers and the order of names are your region's (sorted
   by name, a Swedish region puts Ä after Z), the 12- or 24-hour switch
   followed. Hebrew or Arabic in a file's name, a text field and a
   Markdown document is drawn, wrapped and edited right, and a code
   file's line that starts with an Arabic comment keeps its `//` at the
   left. Compiled only (ADR-139, PORTING "10–15").

## Windows

A build to try is made on Linux (ADR-074) and offered on each release's
page (the first are on 0.2.0's, built from the changes since): a zip,
`skwir-<version>-windows-x86_64.zip`, to unpack anywhere and start
`skwir.exe` from, or an installer, `skwir-<version>-windows-x86_64.msi`,
which puts it in `%LocalAppData%\Programs\skwir` with a Start menu entry
and asks no administrator. Neither is signed: Windows warns first ("Windows
protected your PC": More info, then Run anyway). It reads PDFs, DjVu, 3D
models and archives and plays audio and video; the Poppler and MuPDF
readers are not in it yet. Wine started its programs and installed it, but cannot draw its
window: everything below is new.

1. **It opens** (try). The window draws, a folder lists, the drives are in
   the sidebar, scrolling stays smooth, and idle CPU returns to about 0%
   (Task Manager). The window compiles its shaders as it starts: say how
   long it takes to appear (`first frame … after start` in the log), and
   whether a console opens behind it (it should not). PORTING sections 1, 6.
2. **Tests** (try). The tests pass natively, not only under Wine. Those that
   need what Wine lacks (the shell's Recycle Bin, alternate streams) run
   only here: PORTING sections 1, 3, 4.
3. **Files** (try). Copy (with progress and Cancel), move, rename, Recycle
   Bin, and undo each; a downloaded file keeps its mark of origin (an
   alternate stream). A swap is refused by design; a bulk rename parks a
   name instead (PORTING section 3).
4. **The terminal** (try). The terminal panel (ConPTY) starts, takes keys,
   and follows the folder shown (PORTING section 9).
5. **Colors** (try). With Colors from on Automatic, Skwir wears the
   accent chosen in Settings › Personalization › Colors, changed while it
   runs; a contrast theme (Settings › Accessibility › Contrast themes)
   replaces its colors with the theme's own. Wine answers its blue accent
   and no theme (ADR-071, PORTING section 6).
6. **Archives** (try). Open a ZIP, a 7z, a RAR and a tar.gz in the preview;
   extract one; compress a folder in each format and open what is made in
   Explorer or 7-Zip. Names with accents and other scripts should come
   through both ways, a tar made on Linux included (PORTING section 8).
7. **Audio and video** (try). Play films (MP4, MKV, H.264 and HEVC),
   music (MP3, FLAC, AAC), change a film's audio track and subtitles
   (turning them off while paused stalled under Wine), its speed, seek, and
   play it on the whole screen. Say whether the GPU decodes (Task
   Manager's "Video Decode" graph) and how long the first file takes
   (GStreamer reads its plugins once). It plays through the GStreamer the
   package carries (ADR-076) and played clips under Wine (PORTING
   section 8).
8. **Control channel security** (code). Agents and scripts reach the window
   through a named pipe with Windows' default security, which lets other
   accounts open it, and the client does not check the server's account.
   Before Control can be turned on there, the pipe needs a DACL of the user
   alone and the client a check of the server
   (`plugins/control/src/channel.rs`, PORTING "10–15").
9. **Isolation** (code). Windows has none yet (ADR-039): converters that
   need it are refused, and plugins from outside that run as programs do
   not run. The plan is an AppContainer (`platform/src/sandbox.rs`).
10. **What is not written** (code): ejecting a drive; drives plugged in
   appearing at once (`WM_DEVICECHANGE`); owners by SID; Quick Access as
   bookmarks; Windows Search for hints; media keys (SMTC). PORTING sections
   6, 7, 8, "10–15".
11. **The package** (code). `tools/package/windows.sh` makes the zip and the
   installer on Linux (ADR-074); try the installer on a fresh account:
   installing, the Start menu entry, updating over an older one, removing.
   The helpers that link libraries (Poppler, MuPDF) need those built for
   Windows. Signing needs a
   code-signing certificate: the project decides that with you.
12. **CI** (code). The `native` job runs on `windows-latest` too.

13. **The title bar** (try). Settings › Appearance › Title bar: Compact
   and In the top row hide Windows' title bar and draw its three buttons at
   the end of Skwir's row; Maximize under the pointer shows Snap Layouts,
   Close turns red; dragging the row's empty parts moves and snaps the
   window, a double click maximizes it (beside the tabs, opens a tab
   instead), the right button opens its menu; System gives Windows' bar
   back, on the open window too, at the window's new size (ADR-138).

14. **Your language** (try). With Windows' display language French or
   Simplified Chinese (Settings › Time & language › Language & region),
   the window speaks it, saying once that it is a draft; dates, times
   (Windows' short time, 12 or 24 hours), numbers and the order of names
   follow the region's formats. Hebrew or Arabic in a file's name, a text
   field and a Markdown document is drawn, wrapped and edited right
   (DirectWrite's right-to-left runs, never drawn yet), and a code file's
   line that starts with an Arabic comment keeps its `//` at the left. The
   installer stays in English (ADR-139, PORTING "10–15").

## When a system is ready

A release on a system needs:

- every step done, or stated as not needed;
- its tests passing in CI;
- a package that installs and runs on a fresh machine;
- `docs/PLAN.md` saying what is left there.

The model is the Linux release's checklist (`docs/PLAN.md`, "Release 0.1").
