Fix OpenFlow for Wispr Flow app-1.6.288 and disable auto-updater - #1
Merged
Conversation
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This fixes the GitHub build so it actually patches the installed Wispr Flow
app-1.6.288shell and removes the auto-update path that would otherwise silently replace the patched asar with an unpatched build.host.py:find_desktop_exe()now usesnewest_app_dir()(version sort) instead of lexicographic sort. Previously it launchedapp-1.6.7because"app-1.6.7"sorts after"app-1.6.288"lexicographically, which meant the patchedapp-1.6.288asar was ignored.patch_asr.py:app-1.6.288minified names.checkForUpdates,setupListeners,handleDownloadAvailable, andapplyUpdateare 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 forapp-1.6.288(Qr/$rauth,Wn/$lhub router,Rbe/XIonboarding,Uesupabase flag) and fixedUnicodeEncodeErrorin 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: addedapp-1.6.288hub JS patches for quota CTA, post-onboarding interstitial, and settings tabs; also patchesdocument.title="Hub"to"OpenFlow".Verification
Tested on the Windows 11 VM against the installed
Wispr Flow app-1.6.288:python -m openflow patchpasses all required marker checks.python -m openflow startopens the real Electron app, not the sign-in browser window.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