Skip to content

WriteIn v4.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Sep 04:21

WriteIn v4.2.1 — Desktop Environment Detection & Installer Polish

WriteIn v4.2.1 is a focused stability and packaging update. This release resolves desktop runtime environment detection in Tauri WebView environments—ensuring the auto-updater and native desktop integrations initialize reliably—and enriches application packaging metadata for Windows installers.


🚀 Key Highlights & What's New

🖥️ Reliable Desktop Environment Detection for Native Services

  • Seamless Auto-Updater & Native Hooks: Fixed runtime detection so desktop-specific services (including background update detection, manual preference checks, and deep link handlers) reliably recognize the desktop runtime and never erroneously fall back to web/mock mode.
  • Vite Runtime Prefix Fix: Corrected Vite's environment prefix configuration (['VITE_', 'TAURI_ENV_']) so all native Tauri environment variables (TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, etc.) are exposed directly to the frontend application bundle.

📦 Standardized Product Name & Windows Installer Metadata

  • Official Branding: Standardized the application product name to WriteIn across package.json and tauri.conf.json.
  • Installer Metadata: Enriched installer configuration with official publisher information (Carlo Dandan), copyright notice, application category (Productivity), and full descriptive summaries.
  • Streamlined NSIS Configuration: Configured explicit Windows installer properties, setting currentUser mode, English language support, and dedicated executable icons for both NSIS setup and MSI packages.

🛠️ Enhancements & Bug Fixes

  • vite.config.ts: Fixed envPrefix array from TAURI_ENV_* to TAURI_ENV_ (Vite does not support wildcards in envPrefix definitions).
  • src/services/tauriIpc.ts: Implemented multi-tier fallback checks in isDesktopTauri() verifying isTauri(), TAURI_ENV_PLATFORM, and non-mobile user agents.
  • src-tauri/tauri.conf.json: Added installer icon declarations, publisher tags, and package descriptions.
  • Website Downloads: Updated landing page download links and version badges to point directly to v4.2.1 release assets.

📦 Downloads (Windows 10 / 11 64-bit)

Package File Description
Windows Setup Installer (Recommended) write-in_4.2.1_x64-setup.exe Standard setup with auto-updater, desktop shortcut, and writein:// registry association.
Windows MSI Package write-in_4.2.1_x64_en-US.msi Native Windows Installer package for managed or enterprise environments.

Requirements

  • Microsoft Edge WebView2

This application is built with Tauri and requires the Microsoft Edge WebView2 Runtime which most modern Windows 10 and Windows 11 installations already include WebView2.

If WebView2 is not installed, the installer may require an Internet connection to download and install it.

Installing on an offline computer? Make sure Microsoft Edge WebView2 Runtime is installed before installing the application.

The WebView2 requirement is for the application's Windows runtime. It does not mean that the application itself requires an Internet connection to perform its normal offline functionality.


Thank You

Thank you for downloading and using WriteIn.

If you find a bug or have a suggestion, feel free to open an issue or start a discussion in the repository.


Full Changelog: v4.2.0...v4.2.1