Skip to content

Latest commit

 

History

History
141 lines (88 loc) · 6.7 KB

File metadata and controls

141 lines (88 loc) · 6.7 KB

Installing Bowties

Bowties is a desktop application for Windows and Linux. Pre-built installers are available on the GitHub Releases page.

Supported platforms

Platform Architecture Minimum version Boards Available installers
Windows x86-64 Windows 10 .exe (NSIS)
Linux x86-64 Ubuntu 22.04 .deb, .AppImage
Linux ARM64 Ubuntu 22.04 .deb
Raspberry Pi OS ARM64 Pi OS 12 (Bookworm) Pi 3, 3A+, 3B+, 4, 400, 5, Zero 2 W, CM3/4/5 .deb
macOS 11 (Big Sur) Not yet available

Note: Raspberry Pi support has been tested on a Pi 5 running Raspberry Pi OS 12 (Bookworm) only. Other boards and OS versions listed above are expected to work but have not been verified. Requires a 64-bit OS; the original Pi, Pi 2, and Pi Zero (32-bit only) are not supported.

Building from source: Bowties may run on older OS versions than those listed above, but pre-built installers are only provided for the versions shown. If you want to try an older OS, you can build Bowties from source by following the instructions in the README. Success is not guaranteed on unsupported versions.

Windows

  1. Download the latest Bowties_x.y.z_x64-setup.exe from Releases.
  2. You may see security warnings during and after the download — see Windows security warnings below for how to proceed through each one.
  3. Run the installer and follow the prompts. Bowties installs to %LOCALAPPDATA%\Programs\Bowties by default.
  4. Launch Bowties from the Start Menu or desktop shortcut.

Windows security warnings

Bowties is an open-source project that is not yet code-signed with a commercial certificate. Windows and Edge use code-signing as one signal to decide whether a file is trustworthy. Because the installer is unsigned, you will encounter up to three warnings.

Why this happens: Microsoft charges for code-signing certificates, and a new certificate has no reputation history even after purchase. Both Edge's SmartScreen filter and Windows Defender SmartScreen flag unsigned or low-reputation executables regardless of their actual content. This is expected behavior for any small open-source project distributing a native installer. The source code is publicly auditable on GitHub.


Warning 1 — Edge download blocked

After clicking the download link, Edge shows a warning in the Downloads panel saying the file was blocked or "isn't commonly downloaded."

Edge download warning

Click the (three dots) menu next to the download entry and choose Keep.

Edge keep menu

A follow-up prompt asks you to confirm. Choose Keep anyway.

Edge keep anyway prompt

Using Chrome? Chrome uses Google Safe Browsing instead of Microsoft SmartScreen, but the result is similar for unsigned installers. Chrome will show a warning in its download shelf at the bottom of the window, labelling the file as potentially dangerous. Click the small arrow or chevron next to the filename and choose Keep (or Keep dangerous file depending on your Chrome version). You won't see the Edge-specific screens above, but the same principle applies — click through to keep and run the file.


Warning 2 — Windows SmartScreen (before the installer runs)

After opening the downloaded .exe, Windows may show a blue full-screen dialog:

Windows protected your PC Microsoft Defender SmartScreen prevented an unrecognized app from starting.

  • Click More info (below the message).
  • A Run anyway button appears. Click it.

Warning 3 — UAC (User Account Control)

The installer needs to create a Start Menu entry and write to your user profile. Windows will show a standard UAC prompt asking whether to allow the app to make changes.

  • Click Yes to proceed.

After these steps the installer runs normally.

Linux

Debian / Ubuntu (x86-64)

  1. Download the latest bowties_x.y.z_amd64.deb from Releases.
  2. Install it:
    sudo apt install ./bowties_x.y.z_amd64.deb
    Using apt install (rather than dpkg -i) automatically handles any missing runtime dependencies.
  3. Launch via your application menu or run bowties in a terminal.

Raspberry Pi (64-bit)

Bowties requires a 64-bit OS. Raspberry Pi OS ships in both 32-bit and 64-bit editions — make sure you are running the 64-bit version before installing.

Check your OS:

uname -m

The output should be aarch64. If it shows armv7l or armhf you are on a 32-bit OS and will need to re-image with the 64-bit edition before continuing.

Install:

  1. Download the latest bowties_x.y.z_arm64.deb from Releases.
  2. Install it:
    sudo apt install ./bowties_x.y.z_arm64.deb
  3. Launch from the application menu or run bowties in a terminal.

Bowties has been tested on Raspberry Pi 5. Raspberry Pi 4 should also work but has not been formally tested.

Raspberry Pi OS Lite (no desktop): Bowties is a graphical application and requires a desktop environment. It will not run on the Lite image unless you separately install a desktop environment such as xfce4.

Other distributions (AppImage)

wget https://github.com/JohnSL/Bowties/releases/latest/download/Bowties_x.y.z_amd64.AppImage
chmod +x Bowties_x.y.z_amd64.AppImage
./Bowties_x.y.z_amd64.AppImage

AppImage is only available for x86-64 Linux. Raspberry Pi users should use the .deb package above.

Supported hardware

Bowties connects to your LCC network in two ways:

Method Hardware examples
TCP hub JMRI (port 12021), any GridConnect TCP bridge
USB-to-CAN (GridConnect serial) SPROG CANISB, SPROG USB-LCC, RR-Cirkits Buffer LCC, CAN2USBINO
USB-to-CAN (SLCAN) Canable, Lawicel CANUSB, any slcand-compatible adapter

No additional software or drivers are required for the TCP hub method. For USB adapters, the appropriate USB serial driver for your adapter must be installed (most modern adapters use a CH340 or FTDI chip with OS-provided drivers).

Uninstalling

Windows: Use Add or Remove Programs and uninstall Bowties.

Linux (.deb — Ubuntu and Raspberry Pi): sudo apt remove bowties

Linux (AppImage): Delete the .AppImage file. Configuration is stored in ~/.config/com.lcc.bowties/.

Next steps

See Using Bowties to connect to your layout and start exploring.