Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider switching back from PWA to using Tauri/Electron. #302

Open
gbmhunter opened this issue Nov 29, 2023 · 1 comment
Open

Consider switching back from PWA to using Tauri/Electron. #302

gbmhunter opened this issue Nov 29, 2023 · 1 comment
Assignees

Comments

@gbmhunter
Copy link
Owner

gbmhunter commented Nov 29, 2023

Advantages:

  • Can install global shortcut keys to jump to/open app.
  • More info on serial ports (incl. the COM/ttyUSB names)
  • Easier to read/write from disk
  • Shortcut keys like Alt-F can be caught, although I would have to pass them through from the main process.
  • User can decide to keep older version (or install older version)

Disadvantages:

  • I'd either have to set nodeIntegration to false (not recommended for security reasons) or create a whole API for communicating with the serial port and file system from the main process to the render processes (using IPC and the preload script).
  • Code base would be more complex, and slightly harder to perform e2e tests (although you can still use Playwright with Electron).
  • Would have to migrate existing code, expected to take approx. 16 hours.
@gbmhunter gbmhunter self-assigned this Nov 29, 2023
@gbmhunter gbmhunter changed the title Consider switching back from PWA to using Electron. Consider switching back from PWA to using Tauri/Electron. May 12, 2024
@gbmhunter
Copy link
Owner Author

UPDATE: Might be better to use Tuari, which would use Rust for the backend. Utilizes the OSes webview making for lighter apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant