Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ APPLE_DISTRIBUTION_IDENTITY=
APPLE_INSTALLER_IDENTITY=
# "Mac App Store Connect" provisioning profile for com.patchbay.patchprobe (keep it outside the repo)
APPLE_PROVISIONING_PROFILE=
# Optional: CFBundleVersion of the upload (defaults to a yyyymmddHHMM timestamp)
# Optional: overrides the CFBundleVersion counter in rust/app/src-tauri/appstore/build-number
BUILD_NUMBER=

# --- Tauri updater signing (only if the updater plugin is ever enabled) ----------------
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Bundle

on:
workflow_dispatch:
push:
tags: ["v*"]

env:
CARGO_TERM_COLOR: always

jobs:
bundle:
name: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
bundles: msi,nsis
- os: ubuntu-22.04
bundles: appimage,deb
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5

- name: Install Tauri system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev \
build-essential libssl-dev patchelf

- uses: actions/setup-node@v5
with:
node-version: 22
cache: npm
cache-dependency-path: rust/app/package-lock.json

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@v2
with:
workspaces: rust

- name: npm ci
working-directory: rust/app
run: npm ci

- name: Build installers
working-directory: rust/app
run: npx tauri build --bundles ${{ matrix.bundles }}

- uses: actions/upload-artifact@v4
with:
name: patchprobe-${{ runner.os }}-x64
path: |
rust/target/release/bundle/msi/*.msi
rust/target/release/bundle/nsis/*.exe
rust/target/release/bundle/appimage/*.AppImage
rust/target/release/bundle/deb/*.deb
if-no-files-found: error
retention-days: 30
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,17 @@ Everything runs locally: no account, no cloud, no telemetry.

## Downloads

> **Version 1.0.0.** The macOS build is for **Apple silicon**, signed with an Apple Developer ID
> and notarized. Intel, Windows and Linux packages are coming soon; until then,
> [build from source](#build-from-source).
> **Latest release: 1.0.1.** The [Windows x64 release](https://github.com/Patchbay-s/PatchProbe/releases/tag/v1.0.1)
> contains tested MSI and NSIS installers. The [macOS 1.0.0 release](https://github.com/Patchbay-s/PatchProbe/releases/tag/v1.0.0)
> is for **Apple silicon**, signed with an Apple Developer ID and notarized. Linux x64 packages are
> available as [test workflow artifacts](https://github.com/Patchbay-s/PatchProbe/actions/runs/39068547383),
> not as a production release.

### macOS

| Build | File | Notes |
|---|---|---|
| App, Apple silicon (arm64) | [`PatchProbe_1.0.0_aarch64.dmg`](https://github.com/Patchbay-s/PatchProbe/releases/download/v1.0.0/PatchProbe_1.0.0_aarch64.dmg) | Signed and notarized, all features |
| App, Apple silicon (arm64) | [`PatchProbe_1.0.0_macos-aarch64.dmg`](https://github.com/Patchbay-s/PatchProbe/releases/download/v1.0.0/PatchProbe_1.0.0_macos-aarch64.dmg) | Signed and notarized, all features |
| Mac App Store | Coming soon | Sandboxed edition: no MAC addresses, vendors, traceroute or nmap |
| App, universal (Apple silicon + Intel) | `PatchProbe_<ver>_universal.dmg` | Coming soon |

Expand All @@ -185,16 +187,20 @@ Verify the download against [`SHA256SUMS.txt`](https://github.com/Patchbay-s/Pat

| Build | Installer | Portable |
|---|---|---|
| x64 (64-bit Intel/AMD) | `patchprobe-<ver>-windows-x64.msi` — coming soon | `patchprobe-<ver>-windows-x64-portable.zip` — coming soon |
| arm64 | `patchprobe-<ver>-windows-arm64.msi` — coming soon | `patchprobe-<ver>-windows-arm64-portable.zip` — coming soon |
| x64 (64-bit Intel/AMD) | [MSI](https://github.com/Patchbay-s/PatchProbe/releases/download/v1.0.1/PatchProbe_1.0.1_windows-x64_en-US.msi) · [NSIS](https://github.com/Patchbay-s/PatchProbe/releases/download/v1.0.1/PatchProbe_1.0.1_windows-x64-setup.exe) | Not currently built |
| arm64 | Coming soon | Coming soon |

### Linux

| Format | x86_64 | aarch64 (ARM64) |
|---|---|---|
| AppImage | `patchprobe-<ver>-linux-x86_64.AppImage` — coming soon | `patchprobe-<ver>-linux-aarch64.AppImage` — coming soon |
| Debian/Ubuntu | `patchprobe-<ver>-linux-x86_64.deb` — coming soon | `patchprobe-<ver>-linux-aarch64.deb` — coming soon |
| Fedora/RHEL/openSUSE | `patchprobe-<ver>-linux-x86_64.rpm` — coming soon | `patchprobe-<ver>-linux-aarch64.rpm` — coming soon |
| AppImage | [`patchprobe-Linux-x64` artifact](https://github.com/Patchbay-s/PatchProbe/actions/runs/39068547383) | Coming soon |
| Debian/Ubuntu | [`patchprobe-Linux-x64` artifact](https://github.com/Patchbay-s/PatchProbe/actions/runs/39068547383) | Coming soon |
| Fedora/RHEL/openSUSE | Not currently built | Not currently built |

Open the workflow run above and download the Linux artifact from **Artifacts**.
Artifacts are retained for 30 days. These unsigned packages are for testing and are not a
production release.

**nmap** is never bundled. Install it separately if you want service detection.

Expand Down Expand Up @@ -245,14 +251,15 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for per-OS details and the permissions a

## Status

Current version: **1.0.0**, [released](https://github.com/Patchbay-s/PatchProbe/releases/tag/v1.0.0) for
Apple silicon (signed and notarized). Follow the
Current published Windows version: **1.0.1**, [released](https://github.com/Patchbay-s/PatchProbe/releases/tag/v1.0.1).
The macOS Apple silicon release remains **1.0.0**, signed and notarized. Follow the
[releases page](https://github.com/Patchbay-s/PatchProbe/releases) for updates. What works today:

- Everything described above is implemented in the Rust/Tauri app and covered by about 200
automated tests (parsers and protocol decoders fed with fixtures from all three OS, network
techniques against loopback test servers, engine concurrency and cancellation).
- CI builds, lints and tests the workspace on macOS, Windows and Linux.
- CI builds, lints, tests and packages the workspace on macOS, Windows and Linux. Windows x64
installers were tested successfully; Linux packages remain test artifacts.

What is missing or known to be rough:

Expand Down Expand Up @@ -283,6 +290,7 @@ people who work backstage and those who keep their lab running.
| <img src=".github/assets/brand/patchprobe-mark-128.png" alt="" width="64"> | **PatchProbe** | Fast network scanner for macOS, Windows & Linux | *you are here* |
| <img src=".github/assets/brand/patchtime-mark-128.png" alt="" width="64"> | **PatchTime** | Overtime and work summaries | [Code](https://github.com/Patchbay-s/PatchTime) |
| <img src=".github/assets/brand/patchnode-mark-128.png" alt="" width="64"> | **PatchNode** | iPhone, iPad & Mac dashboard for your homelab | [Code](https://github.com/Patchbay-s/PatchNode) |
| **PatchPad** | Game controller tester for macOS, Windows & Linux | [Code](https://github.com/Patchbay-s/PatchPad) |

## Responsible use

Expand Down
6 changes: 3 additions & 3 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
]

[workspace.package]
version = "1.0.0"
version = "1.0.1"
edition = "2021"
license = "GPL-3.0-only"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions rust/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "patchprobe-app",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"license": "GPL-3.0-only",
"type": "module",
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions rust/app/scripts/release-appstore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ has_identity "$APPLE_INSTALLER_IDENTITY" || fail "certificat introuvable : $APPL
fail "APPLE_PROVISIONING_PROFILE doit pointer vers le profil « Mac App Store Connect » (.provisionprofile)."

version="$(node -p 'require(process.argv[1]).version' "$app_dir/src-tauri/tauri.conf.json")"
# CFBundleVersion doit croître à chaque envoi pour une même version.
build_number="${BUILD_NUMBER:-$(date +%Y%m%d%H%M)}"
# CFBundleVersion doit croître à chaque envoi : compteur versionné dans `appstore/build-number`,
# à incrémenter avant chaque soumission (BUILD_NUMBER reste prioritaire pour un envoi ponctuel).
build_number="${BUILD_NUMBER:-$(tr -d '[:space:]' < "$app_dir/src-tauri/appstore/build-number")}"
[[ "$build_number" =~ ^[0-9]+$ ]] || fail "numéro de build invalide : « $build_number »."

# Binaire universel si la cible Intel est installée, sinon Apple silicon seulement : l'App Store
# n'accepte alors le paquet qu'avec macOS 12.0 minimum (erreur 90869).
Expand Down
3 changes: 0 additions & 3 deletions rust/app/src-tauri/appstore/Entitlements.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
<!-- Sondes TCP, DNS, mDNS, NBNS, SNMP, titres web. -->
<key>com.apple.security.network.client</key>
<true/>
<!-- Sans elle, `ping` ne peut pas recevoir les réponses ICMP dans le bac à sable. -->
<key>com.apple.security.network.server</key>
<true/>
<!-- Exports CSV/JSON vers l'emplacement choisi dans le panneau d'enregistrement. -->
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
Expand Down
1 change: 1 addition & 0 deletions rust/app/src-tauri/appstore/build-number
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
202610180000
2 changes: 1 addition & 1 deletion rust/app/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "PatchProbe",
"version": "1.0.0",
"version": "1.0.1",
"identifier": "com.patchbay.patchprobe",
"build": {
"beforeDevCommand": "npm run dev",
Expand Down
Loading