feat: add Windows support#16
Open
dcoffi wants to merge 1 commit into
Open
Conversation
- Add case windows to all runtime.GOOS switches in cmd/bumblebee/roots.go - Windows MCP configs: %APPDATA%\Claude, Cursor, VS Code/Cline - Windows browsers: Chrome, Edge, Brave, Vivaldi, Opera, Firefox, LibreWolf - Windows Python site-packages via LOCALAPPDATA\Programs\Python\Python* - Windows npm global modules via %APPDATA%\npm\node_modules - Windows Ruby gems via C:\Ruby*\lib\ruby\gems - Windows Go module cache via %GOPATH%\pkg\mod (default %USERPROFILE%\go) - --all-users expansion via C:\Users (filters Default, Public, service accounts) - Fix filepath.Join drive-letter bug: use drive+sep+Users not filepath.Join(drive,Users) - Fix cross-platform tests: setTestHome() sets both HOME and USERPROFILE on Windows - Fix scanner_test.go path separator: use filepath.ToSlash() for Contains checks - goreleaser: add windows/amd64 and windows/arm64 targets with zip format - Add GUIA_BUMBLEBEE.md + GUIA_BUMBLEBEE.pdf: Spanish beginner guide (Windows/Linux/macOS) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
Binarios pre-compilados disponibles para la comunidadMientras el PR es revisado, dejamos los binarios listos para descargar sin necesidad de instalar Go: Release: https://github.com/dcoffi/bumblebee/releases/tag/v0.1.1-community El ZIP incluye binarios para las 3 plataformas:
También incluye el catálogo
|
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.
Summary / Resumen
This PR adds full Windows support to Bumblebee. All changes are backward-compatible — existing macOS and Linux behavior is unchanged.
What was added for Windows / Qué se agregó para Windows
Rutas de configuración MCP (Claude, Cursor, VS Code):
%APPDATA%\Claude\claude_desktop_config.json— Claude Desktop%APPDATA%\Cursor\User\globalStorage— Cursor MCP settings%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev— Cline (VS Code extension)Extensiones de navegador:
%LOCALAPPDATA%\<browser>\User Data%APPDATA%\Opera Software\Opera Stable%APPDATA%\Mozilla\Firefox\ProfilesPaquetes globales del sistema:
%LOCALAPPDATA%\Programs\Python\Python*\Lib\site-packages%APPDATA%\npm\node_modulesC:\Ruby*\lib\ruby\gems%GOPATH%\pkg\mod(default:%USERPROFILE%\go\pkg\mod)--all-usersen Windows:C:\Users\*filtrando cuentas de servicio:Default,Public,All Users,$WinREAgent, etc.Bug fixes para cross-platform:
filepath.Join(C:, Users)retornaC:Users(ruta relativa) en Windows — corregido usandodrive + sep + UserssetTestHome()ahora setea tantoHOMEcomoUSERPROFILEen Windowsscanner_test.go: usafilepath.ToSlash()para comparar paths constrings.Containsgoreleaser:
windows/amd64ywindows/arm64.zip(en lugar de.tar.gz)Documentación:
GUIA_BUMBLEBEE.mdyGUIA_BUMBLEBEE.pdf: guía paso a paso en español para Windows, Linux y macOSTest plan
go test ./...passes on Windows (all 19 packages)bumblebee selftestreturnsselftest OKon Windowsbumblebee roots --profile baselinelists Windows paths (AppData, Chrome, Edge, VS Code extensions)bumblebee scan --profile baselineproduces valid NDJSON on Windowsgo test ./...still passes on Linux/macOS (no regression)bumblebee_windows_amd64.zipandbumblebee_windows_arm64.zipNotes
os.UserHomeDir()already returnsC:\Users\<user>on Windows viaUSERPROFILE— no change needed~\.vscode,~\.cursor,~\.windsurfon Windows too — already covered by existing home-relative pathsfilepath.Join(C:, Users)bug returnsC:Users(relative path on drive C) on Windows — fixed with explicit separatorGenerated with Claude Code