Skip to content

One keyboard and mouse for a Mac and a Windows PC over the local network, in either direction.

Beamer 1.5.8

Toby Kalkmana368dfa8dc13
diff --git a/README.md b/README.md
index 14564ea..3dff16c 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Free, with no account. Mac, Windows and Linux downloads are on the [releases pag
| Platform | Get it | Notes |
|---|---|---|
| macOS 13 or later, Apple silicon or Intel | `Beamer-<version>.dmg` | One universal app, signed and notarised by Apple |
-| Windows 10 and 11 | `Beamer-Setup-<version>.exe` | Not code-signed; see step 1 below |
+| Windows 10 and 11 | `Beamer-Setup-<version>.exe` | Code-signed; see step 1 below |
| Linux, 64-bit x86 and arm64 (Flatpak) | [Install from the Kalkman Code repository](https://flatpak.kalkmancode.co.uk/beamer.flatpakref); `Beamer-<version>-x86_64.flatpak` and `Beamer-<version>-aarch64.flatpak` are available as an offline alternative | Tested on Fedora 44 GNOME under Wayland; KDE Plasma is experimental and not yet tested on real hardware; X11 is not yet verified |
### Install on Linux
@@ -71,8 +71,9 @@ as an offline alternative; the repository picks the right one for your machine b
two Grant buttons on the Permissions page (Accessibility, then Input Monitoring), then Relaunch
Beamer on the same page: macOS only passes keys to an app started after the grant, so until then
the pointer crosses but the keyboard does not. On Windows,
- run the installer. It is not code-signed, because a certificate costs money and Beamer is free,
- so Windows says "Windows protected your PC" the first time: choose More info, then Run anyway.
+ run the installer. Since 1.5.8 it is code-signed, so Windows names the publisher instead of
+ "Unknown publisher". Windows may still say "Windows protected your PC" until the installer has
+ built a download reputation: choose More info, then Run anyway.
Beamer on Windows runs as administrator, so expect one UAC prompt when you open it. On Linux,
follow [Install on Linux](#install-on-linux) to install Beamer from the Kalkman Code repository.
2. **Pair them.** On one machine, choose Pair a machine to show a six-digit code. On the other,
@@ -195,7 +196,8 @@ when Same on all machines is on.
- **AltGr is out of reach from the Mac.**
- **Linux on Wayland has fewer controls.** Its limits are listed under [Linux](#linux).
- **Linux gestures are not supported.**
-- **The Windows installer is unsigned.** SmartScreen may warn when you first run it; choose More
+- **SmartScreen may still warn.** The Windows installer is code-signed from 1.5.8, but SmartScreen
+ can show "Windows protected your PC" until it has built a download reputation; choose More
info, then Run anyway.
## In detail
diff --git a/VERSION b/VERSION
index f01291b..1cc9c18 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.5.7
+1.5.8
diff --git a/flatpak/uk.co.kalkman.beamer.metainfo.xml b/flatpak/uk.co.kalkman.beamer.metainfo.xml
index 80f7747..876cee9 100644
--- a/flatpak/uk.co.kalkman.beamer.metainfo.xml
+++ b/flatpak/uk.co.kalkman.beamer.metainfo.xml
@@ -43,6 +43,9 @@
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
+ <release version="1.5.8" date="2026-10-20">
+ <description><p>The Windows installer and Beamer.exe are now signed with a Certum code-signing certificate, so Windows no longer shows an unknown publisher. Nothing else changes from 1.5.7.</p></description>
+ </release>
<release version="1.5.7" date="2026-10-20">
<description><p>Keeps the address you chose for a machine after reconnects and restarts, instead of replacing it with a discovered or incoming one.</p></description>
</release>
diff --git a/win_app/build_win_app.ps1 b/win_app/build_win_app.ps1
index 1fac973..aa85bf1 100644
--- a/win_app/build_win_app.ps1
+++ b/win_app/build_win_app.ps1
@@ -15,6 +15,36 @@ function Invoke-Native {
& $Command
}
+function Get-BeamerSignTool {
+ $Certificate = Get-ChildItem Cert:\CurrentUser\My |
+ Where-Object Thumbprint -eq 'EA6F2A81A84E49D31FF7965A50D7DE771601DA0A' |
+ Select-Object -First 1
+ if (-not $Certificate) {
+ Write-Host 'Windows signing: unsigned (Certum certificate absent from CurrentUser\My).'
+ return $null
+ }
+
+ $Tool = Get-Command signtool.exe -ErrorAction SilentlyContinue |
+ Select-Object -First 1 -ExpandProperty Source
+ if (-not $Tool) {
+ $SdkBin = Join-Path ${env:ProgramFiles(x86)} 'Windows Kits\10\bin'
+ $Tool = Get-ChildItem "$SdkBin\*\x64\signtool.exe" -ErrorAction SilentlyContinue |
+ Sort-Object { [version]$_.Directory.Parent.Name } -Descending |
+ Select-Object -First 1 -ExpandProperty FullName
+ }
+ if (-not $Tool) { throw 'Certum certificate is present, but Windows SDK SignTool is missing' }
+ return $Tool
+}
+
+function Sign-BeamerArtifact {
+ param([Parameter(Mandatory = $true)][string]$Path)
+ if (-not $SignTool) { return }
+ Invoke-Native { & $SignTool sign /sha1 EA6F2A81A84E49D31FF7965A50D7DE771601DA0A /tr http://time.certum.pl /td sha256 /fd sha256 $Path }
+ if ($LASTEXITCODE -ne 0) { throw "Certum signing failed: $Path" }
+ Invoke-Native { & $SignTool verify /pa /v /tw $Path }
+ if ($LASTEXITCODE -ne 0) { throw "Authenticode verification failed: $Path" }
+}
+
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
if (-not $ScriptDir) { $ScriptDir = Get-Location }
Set-Location $ScriptDir
@@ -29,6 +59,8 @@ if ($Release) {
if (-not (Test-Path $Iscc)) { throw "Inno Setup 6 is not installed at $Iscc" }
}
+$SignTool = Get-BeamerSignTool
+
$Python = Get-Command python -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Source
if (-not $Python) { throw 'Python was not found on PATH' }
@@ -48,6 +80,7 @@ if ($LASTEXITCODE -ne 0) { throw 'PyInstaller failed' }
$Output = Join-Path $ScriptDir 'dist\Beamer.exe'
if (-not (Test-Path $Output)) { throw 'PyInstaller did not create Beamer.exe' }
+Sign-BeamerArtifact $Output
Write-Output "Built $Output"
if ($Release) {
@@ -55,6 +88,8 @@ if ($Release) {
$ReleaseDir = [IO.Path]::GetFullPath((Join-Path $ProjectDir "..\docs\beamer-releases\$Version"))
& $Iscc "/O$ReleaseDir" Beamer-Setup.iss
if ($LASTEXITCODE -ne 0) { throw 'Inno Setup failed' }
+ $Setup = Join-Path $ReleaseDir "Beamer-Setup-$Version.exe"
+ Sign-BeamerArtifact $Setup
$Commit = git -C $ProjectDir rev-parse --short HEAD
- Write-Output "Released $(Join-Path $ReleaseDir "Beamer-Setup-$Version.exe") from $Commit"
+ Write-Output "Released $Setup from $Commit"
}