Skip to content

InvisiBrain Version 2.0.1

Pre-release
Pre-release

Choose a tag to compare

@shubhamshnd shubhamshnd released this 14 Nov 09:35
· 23 commits to main since this release

Release v2.0.1 — Fix Windows launch crash (SyntaxError: Unexpected identifier 'python')

Summary:
Fixed a crash on Windows where launching the packaged app immediately produced the error: [SyntaxError: Unexpected identifier 'python']. The app would fail to start for affected users.

Impact:
Users running the v1.0.0 pre-release from the [dist] portable/ASAR build could experience an immediate crash on startup. This only affected packaged builds (app.asar) and not the development run.

Root Cause:
A JavaScript template literal in [gemini-service.js] contained raw Markdown code fences (e.g. ```python) which included backticks. Those triple-backticks prematurely terminated the surrounding backtick-delimited template string during packaging/parsing, leaving the token python at top-level and causing the SyntaxError when the packaged JS was parsed.