Canopydocs v0.4.7

Install on Windows

The Windows build compiles and ships, but it has not been run on a Windows desktop. Every release builds an NSIS installer on a windows-latest runner, and CI compiles and tests the cfg(windows) code paths on each push. Treat it as an early-adopter build.

Requirements#

RequirementNotes
Windows 10/11 x64The release job builds the default x86_64-pc-windows-msvc target.
WebView2 runtimeShips with current Windows; the installer pulls it in if it's missing.
git on PATHEvery worktree operation shells out to git.
Git Bash (or another POSIX shell)Canopy writes POSIX command lines. On Windows it looks for Git Bash to run them.
Node via nvm-windows or fnmPinned-version discovery checks %APPDATA%\nvm\v<version> and fnm's data dir.
Postgres (optional)Only for the database features.

Install#

  1. Download Canopy_0.4.7_x64-setup.exe from the releases page.
  2. Run it. SmartScreen will warn you about an unsigned installer, because the build isn't code-signed. If you're happy with that, choose More info → Run anyway.
  3. Launch Canopy. It puts an icon in the notification area.

The tray on Windows#

macOS gets a non-activating NSPanel hanging under the menu bar. Windows and Linux get a regular borderless always-on-top window, plus a small menu on the tray icon:

  • Open Canopy shows the main window.
  • Quit Canopy stops every service and exits.

Left-clicking the icon toggles the popover, positioned under the icon.

Differences from macOS#

AreaOn Windows
CommandsRun through Git Bash instead of your login shell. PATH comes from the process environment.
Process controlServices go into a Job Object, so stopping one takes the whole tree down (what killpg does on Unix).
Terminal sessionsReal PTYs through portable_pty (ConPTY). Idle shell sessions are swept after an hour; agent sessions aren't.
"Reveal in Finder"Opens Explorer at the worktree path.
Settings path%APPDATA%\com.midhunkumare.canopy\settings.json.
Log fileThe platform log dir, canopy.log, same rolling 2 MB policy.

Database prerequisites#

Snapshot, export, restore and switch call psql, pg_dump, pg_restore and createdb. On Windows those need to be on PATH (the EDB installer's bin directory), and their major version has to match the server you're connecting to.

If the app does not start#

  1. Read the log file in the platform log dir (canopy.log). The backend logs at INFO; RUST_LOG=debug raises it.
  2. Check that WebView2 is installed.
  3. Check that git --version works from a normal command prompt.
  4. File an issue with the log attached. The Windows paths that need real-world validation are the ones a first failure will point straight at.

Documentation for Canopy 0.4.7. Controls marked coming soon are present in the interface but have no implementation behind them yet.