Skip to content

Conversation

@nglmercer
Copy link
Contributor

@nglmercer nglmercer commented Jan 16, 2026

I've tested it on Windows and Linux. Could you review it and fix any issues you find? Alternatively, it could be versioned or put in a separate repository. I'm open to making any necessary changes.
all the previous examples work, only the event loop and event listeners are different.

├── High-Level API (Simple)
│   ├── Application
│   ├── BrowserWindow
│   └── Webview
│
└── Low-Level API (Advanced)
    ├── EventLoop
    ├── Window
    ├── WindowBuilder
    ├── WebView
    └── WebViewBuilder

Converted example and test files from JavaScript/MJS to TypeScript, adding new TypeScript-based tests and examples. Refactored Rust source code by removing src/browser_window.rs and src/webview.rs, introducing new high-level modules under src/tao and src/wry, and adding src/high_level.rs. Updated Cargo.toml dependencies, removing Linux-specific dependencies and adding serde_json. Updated index.d.ts and index.js to reflect new API structure. This improves type safety, maintainability, and aligns the codebase with modern TypeScript and Rust best practices.
handles the new DEB822 .sources files for build
install and use xvfb for bun run test
change deps in arm64 and armv7
limux arm64 ubuntu latest to 22.04
change params con cargo build
@nglmercer nglmercer changed the title This is a refactoring proposal in itself; all the previous examples work, only the event loop and event listeners are different. This is a refactoring proposal in itself; Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant