chore: auto-commit (17 archivos)
- app.md - applog.go - frontend/package.json - frontend/package.json.md5 - frontend/vite.config.ts - go.mod - main.go - matrix_service.go - sqlite_driver.go - .wails_dev.log - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,12 @@ func main() {
|
||||
defer logger.Close()
|
||||
logger.Info("starting matrix_client_pc", "version", "0.1.0")
|
||||
|
||||
// NOTE: WebView2 strips --remote-debugging-port from
|
||||
// WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS for security, so CDP attach
|
||||
// to the production WebView2 is not feasible. Frontend automation
|
||||
// uses `wails dev -browser` (Chrome with CDP) instead. The E2E HTTP
|
||||
// server on :8767 remains the canonical driver for headless tests.
|
||||
|
||||
ms := NewMatrixService()
|
||||
|
||||
err = wails.Run(&options.App{
|
||||
@@ -34,6 +40,7 @@ func main() {
|
||||
OnStartup: func(ctx context.Context) {
|
||||
ms.SetContext(ctx)
|
||||
logger.Info("wails ctx ready")
|
||||
MaybeStartE2EServer(ms)
|
||||
},
|
||||
OnShutdown: func(ctx context.Context) {
|
||||
logger.Info("shutdown")
|
||||
|
||||
Reference in New Issue
Block a user