Commit 0fa7554
authored
feat(launcher): add clear-proxy confirm, kernel column, fix multi-build kernel updates (#107)
* refactor: rename BotBrowserConsole to BotBrowserLauncher
* feat: add kernel management, proxy management, and setup scripts
* fix: enable macOS native Edit menu for Cmd+C/V/X/A keyboard shortcuts
* chore: upgrade Neutralino runtime to 6.4.0
* chore: remove Neutralino binaries from repo, download via neu update
* fix: improve macOS clipboard support with JS fallback for Cmd+V paste
* fix: expand macOS clipboard fallback to Cmd+C/X, auto-download Neutralino via postinstall
* chore: upgrade Neutralino to 6.5.0 and simplify setup scripts
* fix: fix PowerShell setup script ZIP download corruption
* feat: enhance proxy workflow with IP check, quick change, and reusable input component
* fix: correct checkbox color override and setup script stdin handling
* feat: improve profile deletion with auto-stop, group WebRTC settings, prioritize custom exec path
* feat: add port protection toggle, fix kernel auto-update cleanup and UI refresh
* fix: detect kernel assets by file extension to support renamed Windows/Linux packages
* fix: handle non-browser process exits, add crash detection, validate kernel executable paths
* docs: add --bot-time-seed documentation, changelog 2026-03-03, value range and per-context cross-links
* feat: add proxy save/check, improve table layout and kernel date display
- Add "Save to proxy list" button in proxy input for reusing manually entered proxies
- Add batch proxy connectivity check with IP/status display in proxy management
- Sort proxy list by creation time (newest first)
- Fix kernel date display: parse from asset filename, fix timezone offset bug
- Simplify profile status column to icon-only (play/stop) with tooltips
- Remove year from "Last Launch" date to prevent truncation
- Widen window to 1080px, use fixed table layout to prevent horizontal scrollbar
- Add column width constraints for profile and proxy tables
* feat: redesign profile editor with left nav, advanced config modes, and new fields
- Add left-side anchor navigation with scrollspy (IntersectionObserver)
- Split Fingerprint into separate Noise and Rendering sections
- Replace expansion panel with flat Advanced section layout
- Add mode toggles for Executable (kernel/custom), Cookies and Bookmarks (file/input)
- Add FPS dropdown (profile/real/custom number) instead of free-text input
- Add Save IP button in proxy section for explicit IP saving
- Add new fields: Time Seed, Proxy Bypass Regex, Cookies, Bookmarks, Custom Headers
- Put username/password on same row in proxy input
- Widen status column to prevent icon clipping
* fix: replace Save IP with Save to proxy list, unify dropdown option labels
* fix: include username and password in proxy duplicate detection
Normalize both sides with `|| ''` to handle undefined values, and add
password to the comparison so proxies with the same host:port but
different credentials are treated as distinct entries.
* fix: prevent editing running profiles and remove auto-save IP on proxy check
- Block profile editing when browser is running/launching/stopping,
show alert dialog instead of silently darkening the background
- Remove onIpCheckResult that auto-saved checked IP to proxyIp field
* feat(launcher): add automatic self-update with GitHub commit tracking
Check for launcher updates on startup and every hour by comparing
the local commit hash against the latest launcher-specific commit
from GitHub API (path=launcher). When an update is found, silently
download, rebuild, and prompt the user to restart.
- Add UpdateService with periodic check, ZIP download, and rebuild
- Show update status (checking/downloading/building/ready) in sidebar
- Display current version (commit hash) at sidebar bottom
- Update setup scripts to save commit hash after install/build
- Fix sidebar footer layout to stay at bottom via flex container
* feat(launcher): improve table UX, add new CLI flags, and proxy input enhancements
- Separate row highlight (single click) from checkbox selection (batch ops)
- Add double-click to edit on both profile and proxy tables
- Add clear proxy button in profile editor
- Combine proxy type/host/port into single row layout
- Add --bot-stack-seed and --bot-network-info-override CLI flags
- Update noise seed from float to integer range
- Stack seed uses dropdown (profile/real/custom) like FPS
- Rearrange noise settings: seed+scale+timeseed row, fps+stackseed row
- Widen proxy type column in proxy list table
* fix(launcher): auto-highlight new profiles/proxies and default noise text rects off
- Return created profile/proxy ID from dialog so the table highlights
the new row after creation, matching the edit-then-highlight behavior
- Change botConfigNoiseTextRects default from on to off
* feat(launcher): add new CLI flags, clear user data, and unsaved changes guard
- Add --bot-config-orientation dropdown in Display & Input section with all orientation variants, noted as mobile profiles only
- Add --bot-gpu-emulation toggle in Behavior section for auto GPU rendering backend selection
- Add "Clear User Data" action in both profile edit dialog and profile list context menu to delete user-data-dir
- Guard profile and proxy edit dialogs against accidental close: Escape, backdrop click, and Cancel now prompt when forms have unsaved changes
* feat(launcher): reorganize flag categories, add CLI preview, new 2026-03-26 flags
- Restructure sections: Proxy → Proxy & Network, move GPU Emulation
to Rendering, History Injection to Identity (now supports count)
- Add --bot-enable-variations-in-context and --bot-inject-random-history={number}
- Add CLI command preview in Advanced tab + Copy CLI in context menu
- Backward compat for old profiles with flags in behavior.*
- Fix history count type coercion, add copy snackbar feedback
* fix(launcher): prevent kernel update corruption and improve extraction
- Use unique directory per install (tagName_githubAssetId) to avoid overwriting running kernel files during auto-update
- Verify directory deletion before removing kernel record to prevent orphaned records when files are locked on Windows
- Clean up outdated kernels at runtime when browser exits, not only at launcher startup
- Check 7z availability early at init and before download, show warning banner when missing
- Fix nested 7z/zip extraction: use recursive dir search and trim \r from Windows dir output so chrome.7z is found and cleaned up
- Add open-folder button in kernel list to reveal install directory
- deleteKernel throws if files are locked instead of silently failing
* refactor(launcher): add ShellService, fix UI feedback patterns
- Add ShellService using non-blocking spawnProcess with event buffering
to fix IPC event loop blocking during downloads and extraction
- Migrate all execCommand calls to ShellService (zero remaining)
- Replace native showMessageBox with snackbar (success) or AlertDialog
(errors/warnings) for consistent in-app feedback
- Unify all clipboard copy actions with snackbar confirmation
- Add Copy URL button in proxy input
* feat(launcher): add clear-proxy confirm, kernel column, fix multi-build kernel updates
- Proxy input: move Clear button left of Check IP and gate it behind a confirm dialog; enable Clear in the profile-list "Change Proxy" flow.
- Profile list: add Kernel column (derived from bot profile's Chrome major version) with sorting.
- Kernel service: when a release contains several same-platform builds (e.g. botbrowser_20260514_148.0.7778.168 and _20260518_...), pick the asset with the latest assetDate instead of the first one returned by GitHub, so auto-update actually downloads the freshest build.1 parent 2ae6199 commit 0fa7554
8 files changed
Lines changed: 79 additions & 16 deletions
File tree
- launcher/src/app
- data
- kernel-management
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
111 | 127 | | |
112 | 128 | | |
113 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
393 | | - | |
394 | | - | |
| 394 | + | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | | - | |
| 475 | + | |
| 476 | + | |
475 | 477 | | |
476 | 478 | | |
477 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| 312 | + | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
436 | 439 | | |
437 | 440 | | |
438 | 441 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
444 | 459 | | |
445 | 460 | | |
446 | 461 | | |
| |||
0 commit comments