replit / desktop

Replit Desktop App
116 stars 7 forks source link

Fix "invalid URL" after second-instance events on Windows #84

Closed sergeichestakov closed 1 year ago

sergeichestakov commented 1 year ago

Why

Windows seems to emit the "second-instance" event after auto-updating is complete with the latest (or current) version string. We should explicitly handle this and return instead of treating it like a deeplink.

See Sentry errors.

What changed

Handle semver string "URLs" in the second-instance event instead of parsing them as URLs

Test plan

The above Sentry errors go to 0