Repository navigation
feat(setup): the v6 Windows package holds the Rust programs only - #845
Merged
Merged
Conversation
The setup, the portable artifact and the signing input are one staged folder: lbm-app, lbm-agent, LittleBigMouse.Hook, lbm-service, lbm-inject and lbm-app's pictures. The C# application is no longer built into any of them; its sources stay and its tests still run. - Installer: files named one by one, AppVer read off the agent, no .NET runtime download. An update removes what the C# setup installed (by pattern only in a folder named LittleBigMouse that held it) and points the 5.x logon tasks at the agent, which a silent install would otherwise leave broken. - CI: the installer is now installed over a faked 5.x installation and uninstalled (Test-Installer.ps1). The five staged programs are checked for product name, versions and static CRT, and nothing else may be a binary. The signed release verifies those five. - Version resources for lbm-agent and lbm-service, and one of its own for lbm-inject, which carried the hook's (winresource 0.1.34, compile_for). - SIGNING.md lists the five files and no longer speaks of signing third-party binaries. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ISCC reads a comment line opening with a bracketed name as a section tag. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…assword left out The update threw with no message on the CI runner. Null passes VT_NULL where the Task Scheduler wants VT_EMPTY for an argument left out, and the call now names the account the task already runs as. The log also says which step failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RegisterTaskDefinition still throws, with no message, on the CI runner. COM is tried first, with the logon type the task has. When it fails, schtasks /Change replaces the program and keeps the account, the trigger and the settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mgth
added a commit
that referenced
this pull request
Nov 27, 2026
The Rust-only Windows setup (#845) dropped the C# updater: users on v6 would no longer hear of new versions. The agent takes the check over. - When: a minute after start, then once a day, while "Check for updates automatically" is on and the tray icon is shown; and on the tray's new "Check for update" entry, whatever the option says. No faster timer. - What: the GitHub Releases API. Drafts are skipped. Pre-releases are offered only under the new "Include beta versions" option (IncludeBetaUpdates in options.json / the registry, C# DTO and oracle goldens regenerated by C#). An .exe asset hosted under the repository's releases is required. The version is read from the name, else from the tag, and compared with LBM_VERSION (build.rs, no longer the crate's 0.1.0). - Install: a tray balloon announces the version once. A click downloads the installer to %TEMP%\LittleBigMouse-update and checks it with WinVerifyTrust (revocation on the whole chain) and a signer named exactly "SignPath Foundation". It is then run elevated (runas). A refused installer is deleted unrun and the balloon offers the release page. - Linux: no check, no menu entry, and the Updates group of the options panel is hidden (the package manager owns updates). PRIVACY.md and docs/v6-agent.md describe it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pourquoi
Le setup Windows v6 ne distribue plus le C#. Il prépare aussi la signature SignPath Foundation, qui veut un nom et une version de produit sur chaque binaire signé et interdit de signer des binaires tiers. Suite de #843.
Le paquet
lbm-app.exe,lbm-agent.exe,LittleBigMouse.Hook.exe,lbm-service.exe,lbm-inject.exeeticons\. Un seul dossier,artifacts\windows, vidé puis rempli nom par nom, sert au portable, àLittleBigMouse-unsigned-win-x64et à l'installeur. Le CI échoue s'il contient un autre.exe,.dll,.sysou.msi. Les sources C# restent et leurs tests tournent toujours. La release ne porte toujours que l'installeur.AppVerlue sur l'agent, plus de téléchargement de .NET.SetupIconFilepointe toujours sur le.icodu dossier C# : c'est la source quelbm-appembarque aussi.lbm-agentetlbm-service.lbm-injectportait celle du hook (même paquet cargo) ; il a la sienne (winresource0.1.34,compile_for). Le CI vérifie nom de produit,FileVersion,ProductVersion,OriginalFilenameet l'absence d'import du runtime MSVC sur les cinq.SIGNING.md: cinq fichiers, plus de DLL ni de signature de tiers.PRIVACY.md: la vérification de mise à jour et le téléchargement de .NET sont ceux de la 5.x.Mise à niveau depuis 5.x
*.dll,*.deps.json,*.runtimeconfig.json,runtimes\et les dossiers de langue ne le sont que dans un dossier nomméLittleBigMousequi contenait l'application C#.lbm-agent.exeles tâchesLittleBigMouse_*qui lancent cet exe précis, pour tous les comptes. Le niveau d'exécution est gardé, sauf hors de Program Files, où il est abaissé.lbm-app, agent, hook, ancien daemon).Ce que les utilisateurs de la 5.x perdent
D'après une lecture du code, sans exécution du C# ni du Rust :
lbm-app) ;%APPDATA%;LBM_RENDER=software.Rien de cela n'est corrigé ici.
Vérifié
x86_64-pc-windows-gnuavecLBM_VERSION=6.0.0-beta.1, ressources des cinq exe lues dans les fichiers, aucun import du runtime MSVC ;clippy -D warningssur les quatre paquets touchés (Linux, et Windows sans--all-targets) ;cargo fmt --check.ISCCcompile ; les cinq exe disentLittle Big Mousedans la version deDirectory.Build.props, n'importent pas le runtime MSVC, et rien d'autre n'est un binaire dans le paquet.Test-Installer.ps1: par-dessus une 5.x simulée (fichiers factices, vraies tâches planifiées), les cinq exe eticons\installés, les restes C# supprimés, un fichier étranger conservé ; la tâche 5.x redirigée verslbm-agent.exepar l'appel COM, niveauHighestet déclencheur conservés ; une tâche qui lance un autre chemin laissée telle quelle ; réinstallation identique ; désinstallation complète. Dans un dossier d'un autre nom, seuls les deux exe C# sont supprimés, et la tâche est abaissée enLimited.Pas vérifié : le repli
schtasks /Change(seul l'appel COM a servi en CI), l'assistant interactif, une mise à niveau depuis une vraie 5.x, une tâche enregistrée par la bibliothèque .NET de la 5.x (le test utilise PowerShell), le lancement de l'application après installation, la signature SignPath.À faire côté SignPath : la configuration d'artefact doit lister exactement les cinq fichiers.
🤖 Generated with Claude Code