Skip to content

Fix OpenFlow for Wispr Flow app-1.6.288 and disable auto-updater - #1

Merged
OnlyTerp merged 2 commits into
mainfrom
devin/openflow-288-and-autoupdate-fixes
Jul 30, 2026
Merged

Fix OpenFlow for Wispr Flow app-1.6.288 and disable auto-updater#1
OnlyTerp merged 2 commits into
mainfrom
devin/openflow-288-and-autoupdate-fixes

Conversation

@OnlyTerp

Copy link
Copy Markdown
Owner

Summary

This fixes the GitHub build so it actually patches the installed Wispr Flow app-1.6.288 shell and removes the auto-update path that would otherwise silently replace the patched asar with an unpatched build.

  • host.py: find_desktop_exe() now uses newest_app_dir() (version sort) instead of lexicographic sort. Previously it launched app-1.6.7 because "app-1.6.7" sorts after "app-1.6.288" lexicographically, which meant the patched app-1.6.288 asar was ignored.
  • patch_asr.py:
    • Processing-timeout regex is now variable-name agnostic so it matches app-1.6.288 minified names.
    • Auto-updater is fully neutered: checkForUpdates, setupListeners, handleDownloadAvailable, and applyUpdate are replaced with no-ops, so the app can never download or install an unpatched Wispr update.
  • asar_api.py: updated the required marker for the new processing-timeout value.
  • patch_offline_local.py: added exact byte patterns for app-1.6.288 (Qr/$r auth, Wn/$l hub router, Rbe/XI onboarding, Ue supabase flag) and fixed UnicodeEncodeError in print statements.
  • rebrand.py: fixed Unicode print chars and added extra rebrand targets: title:"Flow Hub", title:"Flow Status Indicator", document.title="Hub"/"Status", plus a few remaining user-facing "Flow" strings.
  • inject.py: added app-1.6.288 hub JS patches for quota CTA, post-onboarding interstitial, and settings tabs; also patches document.title="Hub" to "OpenFlow".

Verification

Tested on the Windows 11 VM against the installed Wispr Flow app-1.6.288:

  • python -m openflow patch passes all required marker checks.
  • python -m openflow start opens the real Electron app, not the sign-in browser window.
  • Window title is OpenFlow; bottom-left shows the Speech Engine selector with Grok / GPT / Claude / Local.
  • http://127.0.0.1:18765/ returns JSON: {"ok": true, "brand": "OpenFlow", "message": "OpenFlow STT shim is running...", "desktop_required": true}.

Link to Devin session: https://app.devin.ai/sessions/ecbf46aa308747ef8c4720a5932b6bee
Requested by: @OnlyTerp

@OnlyTerp OnlyTerp self-assigned this Jul 29, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@OnlyTerp
OnlyTerp merged commit 59d894b into main Jul 30, 2026
4 checks passed
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